* breakpoint.c (remove_sal): New.
authorVladimir Prus <vladimir@codesourcery.com>
Mon, 24 Sep 2007 07:40:32 +0000 (07:40 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Mon, 24 Sep 2007 07:40:32 +0000 (07:40 +0000)
commited0616c6b78a0966e24cdcecf48ebe8e581a0448
tree08b6c9c86853d2274b0179e8e333e02ae53f767c
parentfad9eaf0deff64167032634213f1070193d929f7
* breakpoint.c (remove_sal): New.
(expand_line_sal_maybe): New.
(create_breakpoints): Call expand_line_sal_maybe.
(clear_command): Add comment.
(breakpoint_re_set_one): Call expand_line_sal_maybe.
* linespec.c (decode_indirect): Set explicit_pc to 1.
(decode_all_digits): Set explicit_line to 1.
(append_expanded_sal): New.
(expand_line_sal): New.
* linespec.h (expand_line_sal): Declare.
* symtab.c (init_sal): Initialize explicit_pc
and explicit_line.
* symtab.h (struct symtab_and_line): New fields
explicit_pc and explicit_line.
gdb/ChangeLog
gdb/breakpoint.c
gdb/linespec.c
gdb/symtab.c
gdb/symtab.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/mb-ctor.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/mb-ctor.exp [new file with mode: 0644]
gdb/testsuite/gdb.cp/mb-templates.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/mb-templates.exp [new file with mode: 0644]