diff options
author | gdb-3.5 <gdb@fsf.org> | 1990-02-08 06:14:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-03 15:36:32 +0100 |
commit | 7a67dd45ca1c191a0220697a3ec9fa92993caf8c (patch) | |
tree | ea93641dd0b45fbca686b5e989b0f1085a7541b7 /gdb/breakpoint.c | |
parent | 1c997a4ae86938343edb715efc3fc742c5f668fe (diff) | |
download | gdb-7a67dd45ca1c191a0220697a3ec9fa92993caf8c.zip gdb-7a67dd45ca1c191a0220697a3ec9fa92993caf8c.tar.gz gdb-7a67dd45ca1c191a0220697a3ec9fa92993caf8c.tar.bz2 |
gdb-3.5
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index e4bb5a1..0cffc45 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -17,13 +17,12 @@ You should have received a copy of the GNU General Public License along with GDB; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <stdio.h> #include "defs.h" #include "param.h" #include "symtab.h" #include "frame.h" -#include <stdio.h> - /* This is the sequence of bytes we insert for a breakpoint. */ static char break_insn[] = BREAKPOINT; @@ -527,7 +526,7 @@ describe_other_breakpoints (pc) (b->enable == disabled) ? " (disabled)" : "", (others > 1) ? "," : ((others == 1) ? " and" : "")); } - printf (" also set at pc 0x%x\n", pc); + printf ("also set at pc 0x%x.\n", pc); } } @@ -1044,6 +1043,16 @@ set_ignore_count (bptnum, count, from_tty) error ("No breakpoint number %d.", bptnum); } +/* Clear the ignore counts of all breakpoints. */ +void +breakpoint_clear_ignore_counts () +{ + struct breakpoint *b; + + ALL_BREAKPOINTS (b) + b->ignore_count = 0; +} + /* Command to set ignore-count of breakpoint N to COUNT. */ static void |