From: Vladimir Prus Date: Tue, 20 Nov 2007 17:37:35 +0000 (+0000) Subject: Remove unused breakpoint fields. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2b51bab70a500ab2a007b37089bf6f1cd7e0d83d;p=pf3gnuchains%2Fpf3gnuchains3x.git Remove unused breakpoint fields. * breakpoint.h (struct breakpoint): Remove from_tty and flag fields. * breakpoint.c (break_command_1): Don't set from_tty and flag field set of breakpoint. (create_ada_exception_breakpoint): Don't set the from_tty field. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 341f6665ab..54218d7b73 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2007-11-20 Vladimir Prus + + Remove unused breakpoint fields. + * breakpoint.h (struct breakpoint): Remove + from_tty and flag fields. + * breakpoint.c (break_command_1): Don't set + from_tty and flag field set of breakpoint. + (create_ada_exception_breakpoint): Don't set + the from_tty field. + 2007-11-20 David Ung Maciej W. Rozycki diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 2f4bd8b878..81614aa9ef 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -5589,8 +5589,6 @@ break_command_1 (char *arg, int flag, int from_tty) b->cond_string = cond_string; b->ignore_count = ignore_count; b->disposition = tempflag ? disp_del : disp_donttouch; - b->from_tty = from_tty; - b->flag = flag; b->condition_not_parsed = 1; mention (b); } @@ -6696,7 +6694,6 @@ create_ada_exception_breakpoint (struct symtab_and_line sal, b->exp_string = exp_string; b->thread = -1; b->ops = ops; - b->from_tty = from_tty; mention (b); } diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index f13d41b435..e4aa72a7a3 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -445,14 +445,6 @@ struct breakpoint /* Methods associated with this breakpoint. */ struct breakpoint_ops *ops; - /* Was breakpoint issued from a tty? Saved for the use of pending breakpoints. */ - int from_tty; - - /* Flag value for pending breakpoint. - first bit : 0 non-temporary, 1 temporary. - second bit : 0 normal breakpoint, 1 hardware breakpoint. */ - int flag; - /* Is breakpoint's condition not yet parsed because we found no location initially so had no context to parse the condition in. */