aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-10-19 02:47:02 +0000
committerJason Molenda <jmolenda@apple.com>1999-10-19 02:47:02 +0000
commit917317f4c6550f3f3e0001d0a9e5a6acd6a2d1be (patch)
tree3ecc5a5d86fef50ae8715adacf956a2011797441 /gdb/breakpoint.h
parent446a06c9b8819b20be7704f0b540471d76959c66 (diff)
downloadgdb-917317f4c6550f3f3e0001d0a9e5a6acd6a2d1be.zip
gdb-917317f4c6550f3f3e0001d0a9e5a6acd6a2d1be.tar.gz
gdb-917317f4c6550f3f3e0001d0a9e5a6acd6a2d1be.tar.bz2
import gdb-1999-10-18 snapshot
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index fb29c84..89655fe 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -455,7 +455,7 @@ struct bpstats
/* Function called by bpstat_print to print stuff associated with
this element of the bpstat chain. Returns 0 or 1 just like
bpstat_print, or -1 if it can't deal with it. */
- int (*print_it) PARAMS ((bpstat bs));
+ enum print_stop_action (*print_it) PARAMS ((bpstat bs));
};
enum inf_context
@@ -473,6 +473,16 @@ enum breakpoint_here
ordinary_breakpoint_here,
permanent_breakpoint_here
};
+
+/* The possible return values for print_bpstat, print_it_normal,
+ print_it_done, print_it_noop. */
+enum print_stop_action
+ {
+ PRINT_UNKNOWN = -1,
+ PRINT_SRC_AND_LOC,
+ PRINT_SRC_ONLY,
+ PRINT_NOTHING
+ };
/* Prototypes for breakpoint-related functions. */