diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-11-06 21:20:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-11-06 21:20:23 +0000 |
commit | a985cd4128beeb45d6938f743653aece20c81113 (patch) | |
tree | 82a138340fb3f66110d8896e9f66dee3a33b05b2 /gdb | |
parent | e6b47f070d6de8f18b35fa78f169d1107484d08f (diff) | |
download | gdb-a985cd4128beeb45d6938f743653aece20c81113.zip gdb-a985cd4128beeb45d6938f743653aece20c81113.tar.gz gdb-a985cd4128beeb45d6938f743653aece20c81113.tar.bz2 |
gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbarch.c | 2 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 68d8d87..a417f0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2001-11-06 Andrew Cagney <ac131313@redhat.com> + * gdbarch.sh (CALL_DUMMY_LOCATION): Require a value. + * gdbarch.c: Regenerate. + +2001-11-06 Andrew Cagney <ac131313@redhat.com> + * blockframe.c (get_prev_frame): Replace #ifdef INIT_EXTRA_FRAME_INFO with run-time test. diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index d2a7928..060d700 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 acd69f2..d57ebc0 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 |