From a985cd4128beeb45d6938f743653aece20c81113 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 6 Nov 2001 21:20:23 +0000 Subject: [PATCH] gdbarch.sh (CALL_DUMMY_LOCATION): Require a value. --- gdb/ChangeLog | 5 +++++ gdb/gdbarch.c | 2 +- gdb/gdbarch.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 68d8d872284..a417f0bc270 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-11-06 Andrew Cagney + + * gdbarch.sh (CALL_DUMMY_LOCATION): Require a value. + * gdbarch.c: Regenerate. + 2001-11-06 Andrew Cagney * blockframe.c (get_prev_frame): Replace #ifdef diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index d2a79286add..060d700d4ca 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -619,7 +619,7 @@ verify_gdbarch (struct gdbarch *gdbarch) if ((GDB_MULTI_ARCH >= 1) && (gdbarch->use_generic_dummy_frames == -1)) fprintf_unfiltered (log, "\n\tuse_generic_dummy_frames"); - if ((GDB_MULTI_ARCH >= 2) + if ((GDB_MULTI_ARCH >= 1) && (gdbarch->call_dummy_location == 0)) fprintf_unfiltered (log, "\n\tcall_dummy_location"); if ((GDB_MULTI_ARCH >= 2) diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index acd69f2d712..d57ebc05210 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -437,7 +437,7 @@ f:2:CANNOT_FETCH_REGISTER:int:cannot_fetch_register:int regnum:regnum:::cannot_r f:2:CANNOT_STORE_REGISTER:int:cannot_store_register:int regnum:regnum:::cannot_register_not::0 # v:1:USE_GENERIC_DUMMY_FRAMES:int:use_generic_dummy_frames::::0:-1 -v:2:CALL_DUMMY_LOCATION:int:call_dummy_location::::0:0 +v:1:CALL_DUMMY_LOCATION:int:call_dummy_location::::0:0 f:2:CALL_DUMMY_ADDRESS:CORE_ADDR:call_dummy_address:void:::0:0::gdbarch->call_dummy_location == AT_ENTRY_POINT && gdbarch->call_dummy_address == 0 v:2:CALL_DUMMY_START_OFFSET:CORE_ADDR:call_dummy_start_offset::::0:-1:::0x%08lx v:2:CALL_DUMMY_BREAKPOINT_OFFSET:CORE_ADDR:call_dummy_breakpoint_offset::::0:-1::gdbarch->call_dummy_breakpoint_offset_p && gdbarch->call_dummy_breakpoint_offset == -1:0x%08lx::CALL_DUMMY_BREAKPOINT_OFFSET_P -- 2.30.2