* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
authorJimmy Guo <guo@cup.hp.com>
Wed, 2 Aug 2000 22:18:42 +0000 (22:18 +0000)
committerJimmy Guo <guo@cup.hp.com>
Wed, 2 Aug 2000 22:18:42 +0000 (22:18 +0000)
to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P.

* gdbarch.c: Regenerated.

gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.sh

index 3fda676db7408d2732f32013e36ff835287a4d51..478c7b3d3ecc16e8f242d3ec2c00a6f06fda086e 100644 (file)
@@ -1,3 +1,10 @@
+2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
+
+       * gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
+        to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P.
+
+       * gdbarch.c: Regenerated.
+
 2000-08-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
 
        * remote-vx.c (vx_add_symbols): Fix typos.
index 55e58da325a7f11e14f8a132c34436e82fef801b..9a6813be61469b427a085c802ef3169d6caf2a42 100644 (file)
@@ -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,
index aeed515b06dd3d4417ce2ae8276c0fa857ef0dfa..a64d340c304e6e178f096c9abc2c16bb23fc15bc 100755 (executable)
@@ -350,7 +350,7 @@ v:1:USE_GENERIC_DUMMY_FRAMES:int:use_generic_dummy_frames::::0:-1
 v:2: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:::0x%08lx
+v:2:CALL_DUMMY_BREAKPOINT_OFFSET:CORE_ADDR:call_dummy_breakpoint_offset::::0:-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