diff options
author | Fred Fish <fnf@specifix.com> | 1996-07-26 03:01:51 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-07-26 03:01:51 +0000 |
commit | b607efe7149f91512dc5fd9dbfc4c6156cdf9a93 (patch) | |
tree | b90b82aac0d802ec179525d8d80635a44c562f1e /gdb/breakpoint.c | |
parent | dc88c64e2c0dbc786d0cee2b3bde0bdee8fcf2d1 (diff) | |
download | gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.zip gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.tar.gz gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.tar.bz2 |
See gdb ChangeLog entry with header:
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
for a rather huge set of changes. I was going to put them here, but it
made cvs dump core. :-(
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 55 |
1 files changed, 50 insertions, 5 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ff48d94..e1355c9 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -118,7 +118,7 @@ static int breakpoint_cond_eval PARAMS ((char *)); static void -cleanup_executing_breakpoints PARAMS ((int)); +cleanup_executing_breakpoints PARAMS ((PTR)); static void commands_command PARAMS ((char *, int)); @@ -135,6 +135,50 @@ set_breakpoint_count PARAMS ((int)); static int remove_breakpoint PARAMS ((struct breakpoint *)); +static int +print_it_normal PARAMS ((bpstat)); + +static int +watchpoint_check PARAMS ((char *)); + +static int +print_it_done PARAMS ((bpstat)); + +static int +print_it_noop PARAMS ((bpstat)); + +static void +maintenance_info_breakpoints PARAMS ((char *, int)); + +#ifdef GET_LONGJMP_TARGET +static void +create_longjmp_breakpoint PARAMS ((char *)); +#endif + +static int +hw_breakpoint_used_count PARAMS ((void)); + +static int +hw_watchpoint_used_count PARAMS ((enum bptype, int *)); + +static void +hbreak_command PARAMS ((char *, int)); + +static void +thbreak_command PARAMS ((char *, int)); + +static void +watch_command_1 PARAMS ((char *, int, int)); + +static void +rwatch_command PARAMS ((char *, int)); + +static void +awatch_command PARAMS ((char *, int)); + +static void +do_enable_breakpoint PARAMS ((struct breakpoint *, enum bpdisp)); + extern int addressprint; /* Print machine addresses? */ /* Are we executing breakpoint commands? */ @@ -914,7 +958,7 @@ bpstat_clear_actions (bs) /* ARGSUSED */ static void cleanup_executing_breakpoints (ignore) - int ignore; + PTR ignore; { executing_breakpoint_commands = 0; } @@ -2126,7 +2170,7 @@ re_enable_breakpoints_in_shlibs () #endif -int +static int hw_breakpoint_used_count() { register struct breakpoint *b; @@ -2141,7 +2185,7 @@ hw_breakpoint_used_count() return i; } -int +static int hw_watchpoint_used_count(type, other_type_used) enum bptype type; int *other_type_used; @@ -2545,7 +2589,8 @@ watch_command_1 (arg, accessflag, from_tty) struct expression *exp; struct block *exp_valid_block; struct value *val, *mark; - struct frame_info *frame, *prev_frame; + struct frame_info *frame; + struct frame_info *prev_frame = NULL; char *exp_start = NULL; char *exp_end = NULL; char *tok, *end_tok; |