aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-11-20 17:37:35 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-11-20 17:37:35 +0000
commit568fff39de8c6bb812d8cd038467cb5b545b00ad (patch)
tree33136e9a06846b1e877b732fb65ef895c556bac6 /gdb/breakpoint.c
parent592d601cd70e991dc19d245b365481225145a01a (diff)
downloadgdb-568fff39de8c6bb812d8cd038467cb5b545b00ad.zip
gdb-568fff39de8c6bb812d8cd038467cb5b545b00ad.tar.gz
gdb-568fff39de8c6bb812d8cd038467cb5b545b00ad.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 2f4bd8b..81614aa 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);
}