This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] gdbarch.c(gdbarch_dump)
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] gdbarch.c(gdbarch_dump)
- From: Jimmy Guo <guo at cup dot hp dot com>
- Date: Fri, 28 Jul 2000 13:07:49 -0700 (PDT)
This patch is to prevent sizeof.exp 'maint print arch' to trigger
gdb_internal_error (). inferior.h defines default to be the
gdb_internal_error () call.
Fri Jul 28 13:01:35 Jimmy Guo <guo@cup.hp.com>
* gdbarch.c (gdbarch_dump): dump CALL_DUMMY_BREAKPOINT_OFFSET value
only if CALL_DUMMY_BREAKPOINT_OFFSET_P.
Index: gdbarch.c
/usr/local/bin/diff -c -L gdbarch.c gdbarch.c@@/main/_guo_unified_merge/7 gdbarch.c
*** gdbarch.c
--- gdbarch.c Fri Jul 28 12:51:17 2000
***************
*** 1456,1464 ****
(long) CALL_DUMMY_START_OFFSET);
#endif
#ifdef CALL_DUMMY_BREAKPOINT_OFFSET
! fprintf_unfiltered (file,
! "gdbarch_dump: CALL_DUMMY_BREAKPOINT_OFFSET = 0x%08lx\n",
! (long) CALL_DUMMY_BREAKPOINT_OFFSET);
#endif
#ifdef CALL_DUMMY_BREAKPOINT_OFFSET_P
fprintf_unfiltered (file,
--- 1456,1465 ----
(long) CALL_DUMMY_START_OFFSET);
#endif
#ifdef CALL_DUMMY_BREAKPOINT_OFFSET
! if (CALL_DUMMY_BREAKPOINT_OFFSET_P)
! fprintf_unfiltered (file,
! "gdbarch_dump: CALL_DUMMY_BREAKPOINT_OFFSET = 0x%08lx\n",
! (long) CALL_DUMMY_BREAKPOINT_OFFSET);
#endif
#ifdef CALL_DUMMY_BREAKPOINT_OFFSET_P
fprintf_unfiltered (file,