* breakpoint.c (breakpoint_1): Support bp_call_dummy.
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 21 Sep 1993 22:55:39 +0000 (22:55 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 21 Sep 1993 22:55:39 +0000 (22:55 +0000)
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h

index df51c8b3ed2c283bec7f8dc2bf0aa516705f2b34..4ee4899ef6f009e4d23d2be2a1d63e67ba4045cf 100644 (file)
@@ -1,3 +1,7 @@
+Tue Sep 21 17:48:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (breakpoint_1): Support bp_call_dummy.
+
 Tue Sep 21 17:06:19 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * elfread.c (record_minimal_symbol_and_info): Guess the section to
index bec31eb89091ef5e71aa6cad11d507ce01b3d8f3..ad0462a36e95ae2e7c5d749c35c50e1058fb272a 100644 (file)
@@ -1318,6 +1318,7 @@ bpstat_what (bs)
             pops the dummy frame.  */
          bs_class = bp_silent;
          retval.call_dummy = 1;
+         break;
        }
       current_action = table[(int)bs_class][(int)current_action];
     }
@@ -1354,7 +1355,8 @@ breakpoint_1 (bnum, allflag)
   CORE_ADDR last_addr = (CORE_ADDR)-1;
   int found_a_breakpoint = 0;
   static char *bptypes[] = {"breakpoint", "until", "finish", "watchpoint",
-                             "longjmp", "longjmp resume", "step resume"};
+                             "longjmp", "longjmp resume", "step resume",
+                             "call dummy" };
   static char *bpdisps[] = {"del", "dis", "keep"};
   static char bpenables[] = "ny";
   char wrap_indent[80];
@@ -1393,6 +1395,7 @@ breakpoint_1 (bnum, allflag)
          case bp_longjmp:
          case bp_longjmp_resume:
          case bp_step_resume:
+         case bp_call_dummy:
            if (addressprint)
              printf_filtered ("%s ", local_hex_string_custom(b->address, "08"));
 
index 5c7e69d116d3dad10a5f11f5e2f9ebd11a47a8c5..8317dd3886b2a9b42c7895667b713337275700c1 100644 (file)
@@ -33,9 +33,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* FIXME In the future, we should fold all other breakpoint-like things into
    here.  This includes:
 
-   * call-dummy (the breakpoint at the end of a subroutine stub that gdb
-      uses to call functions in the target) (definately). 
-
    * single-step (for machines where we have to simulate single stepping)
       (probably, though perhaps it is better for it to look as much as
       possible like a single-step to wait_for_inferior).  */