From: Andrew Cagney Date: Wed, 7 Nov 2001 04:28:38 +0000 (+0000) Subject: gdbarch.sh (PC_IN_CALL_DUMMY): Require a value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4a7d16f8b4f210e0ccfd574c5c44f98953791dd;p=binutils-gdb.git gdbarch.sh (PC_IN_CALL_DUMMY): Require a value. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5d104935987..5123cfdf0da 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-11-06 Andrew Cagney + + * gdbarch.sh (PC_IN_CALL_DUMMY): Require a value. + * gdbarch.c: Regenerate. + 2001-11-06 Fred Fish * complaints.c (info_verbose): Remove unneeded decl, is in defs.h. diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 060d700d4ca..65d18d23fd9 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -637,7 +637,7 @@ verify_gdbarch (struct gdbarch *gdbarch) if ((GDB_MULTI_ARCH >= 2) && (gdbarch->call_dummy_length == -1)) fprintf_unfiltered (log, "\n\tcall_dummy_length"); - if ((GDB_MULTI_ARCH >= 2) + if ((GDB_MULTI_ARCH >= 1) && (gdbarch->pc_in_call_dummy == 0)) fprintf_unfiltered (log, "\n\tpc_in_call_dummy"); if ((GDB_MULTI_ARCH >= 1) diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index d57ebc05210..85e94af0821 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -443,7 +443,7 @@ 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 v:1:CALL_DUMMY_BREAKPOINT_OFFSET_P:int:call_dummy_breakpoint_offset_p::::0:-1 v:2:CALL_DUMMY_LENGTH:int:call_dummy_length::::0:-1:::::CALL_DUMMY_LOCATION == BEFORE_TEXT_END || CALL_DUMMY_LOCATION == AFTER_TEXT_END -f:2:PC_IN_CALL_DUMMY:int:pc_in_call_dummy:CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR frame_address:pc, sp, frame_address::0:0 +f:1:PC_IN_CALL_DUMMY:int:pc_in_call_dummy:CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR frame_address:pc, sp, frame_address::0:0 v:1:CALL_DUMMY_P:int:call_dummy_p::::0:-1 v:2:CALL_DUMMY_WORDS:LONGEST *:call_dummy_words::::0:legacy_call_dummy_words::0:0x%08lx v:2:SIZEOF_CALL_DUMMY_WORDS:int:sizeof_call_dummy_words::::0:legacy_sizeof_call_dummy_words::0:0x%08lx