aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorJimmy Guo <guo@cup.hp.com>2000-08-02 22:18:42 +0000
committerJimmy Guo <guo@cup.hp.com>2000-08-02 22:18:42 +0000
commit7861024dc2355cf82f372736cba08f1bdf6f5278 (patch)
tree677043be5a41d7a437a03f79ee11fe3275f93115 /gdb/gdbarch.c
parentbac5fc66f280b8765d36bcc60dc4f8b59558b066 (diff)
downloadgdb-7861024dc2355cf82f372736cba08f1bdf6f5278.zip
gdb-7861024dc2355cf82f372736cba08f1bdf6f5278.tar.gz
gdb-7861024dc2355cf82f372736cba08f1bdf6f5278.tar.bz2
* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P. * gdbarch.c: Regenerated.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 55e58da..9a6813b 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -1524,9 +1524,10 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file)
(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);
+ 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,