aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-03-30 19:10:31 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-03-30 19:10:31 +0000
commit3f031adf9f8db098550eedd752d71edb96dc2849 (patch)
treeeb2ae97410727de6c266f2958acf3a62747c5913 /gdb/breakpoint.c
parent8af68e4efb282f3ebb8b6714046572f812ae1d92 (diff)
downloadgdb-3f031adf9f8db098550eedd752d71edb96dc2849.zip
gdb-3f031adf9f8db098550eedd752d71edb96dc2849.tar.gz
gdb-3f031adf9f8db098550eedd752d71edb96dc2849.tar.bz2
(print_it_normal): return 0 after hitting watchpoint
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 1f9726b..070ea85 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -736,7 +736,7 @@ print_it_normal (bs)
printf_filtered ("\n");
value_free (bs->old_val);
bs->old_val = NULL;
- return 1;
+ return 0;
}
/* We can't deal with it. Maybe another member of the bpstat chain can. */
return -1;
@@ -745,7 +745,7 @@ print_it_normal (bs)
/* Print a message indicating what happened. Returns nonzero to
say that only the source line should be printed after this (zero
return means print the frame as well as the source line). */
-
+/* Currently we always return zero. */
int
bpstat_print (bs)
bpstat bs;