diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-10-13 19:40:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-10-13 19:40:31 +0000 |
commit | 83e6b173e791941d7bbd5a0b2057832f56e28b1d (patch) | |
tree | 86e19e72aadecbaf3e7f2b9aefc44f7b3dcfe22b /gdb/gdbarch.c | |
parent | 21bf60feeec64653bbfdb08dd66f8c45cfb91d8b (diff) | |
download | gdb-83e6b173e791941d7bbd5a0b2057832f56e28b1d.zip gdb-83e6b173e791941d7bbd5a0b2057832f56e28b1d.tar.gz gdb-83e6b173e791941d7bbd5a0b2057832f56e28b1d.tar.bz2 |
From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
* gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
CALL_DUMMY_BREAKPOINT_OFFSET_P.
* gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 0d073dd..2517eba 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -632,7 +632,7 @@ verify_gdbarch (struct gdbarch *gdbarch) internal_error (__FILE__, __LINE__, "gdbarch: verify_gdbarch: call_dummy_start_offset invalid"); if ((GDB_MULTI_ARCH >= 2) - && (gdbarch->call_dummy_breakpoint_offset == -1)) + && (gdbarch->call_dummy_breakpoint_offset_p && gdbarch->call_dummy_breakpoint_offset == -1)) internal_error (__FILE__, __LINE__, "gdbarch: verify_gdbarch: call_dummy_breakpoint_offset invalid"); if ((GDB_MULTI_ARCH >= 1) @@ -2992,7 +2992,7 @@ set_gdbarch_call_dummy_start_offset (struct gdbarch *gdbarch, CORE_ADDR gdbarch_call_dummy_breakpoint_offset (struct gdbarch *gdbarch) { - if (gdbarch->call_dummy_breakpoint_offset == -1) + if (gdbarch->call_dummy_breakpoint_offset_p && gdbarch->call_dummy_breakpoint_offset == -1) internal_error (__FILE__, __LINE__, "gdbarch: gdbarch_call_dummy_breakpoint_offset invalid"); if (gdbarch_debug >= 2) |