diff options
author | Tom Tromey <tromey@redhat.com> | 2011-03-24 19:39:49 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-03-24 19:39:49 +0000 |
commit | 7efd8fc2d8d20fbed21a8e4271ab6768ddc75ea0 (patch) | |
tree | 374a931d5ec7ff0239de47f7c0f0a8f1de971356 /gdb/symtab.c | |
parent | 28d9b232b037c7d060b8a29309383eb813db55bf (diff) | |
download | gdb-7efd8fc2d8d20fbed21a8e4271ab6768ddc75ea0.zip gdb-7efd8fc2d8d20fbed21a8e4271ab6768ddc75ea0.tar.gz gdb-7efd8fc2d8d20fbed21a8e4271ab6768ddc75ea0.tar.bz2 |
* symtab.c (decode_line_spec): Update.
* linespec.c (build_canonical_line_spec): Change type of
'canonical'.
(decode_line_2, decode_line_1, decode_objc, decode_compound)
(find_method, decode_all_digits, decode_dollar, decode_label)
(symbol_found): Likewise.
(init_linespec_result): New function.
* breakpoint.c (struct captured_parse_breakpoint_args)
<canonical_p>: New field, replaces addr_string_p.
(create_breakpoints_sal): Add 'canonical' parameter, replacing
'addr_string'.
(parse_breakpoint_sals): Likewise.
(do_captured_parse_breakpoint): Update.
(create_breakpoint): Use struct linespec_result.
(until_break_command): Update.
(breakpoint_re_set_one): Update.
(decode_line_spec_1): Update.
* linespec.h (struct linespec_result): New.
(init_linespec_result): Declare.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index d15f910..3061f3c 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -4381,7 +4381,7 @@ decode_line_spec (char *string, int funfirstline) sals = decode_line_1 (&string, funfirstline, cursal.symtab, cursal.line, - (char ***) NULL, NULL); + NULL, NULL); if (*string) error (_("Junk at end of line specification: %s"), string); |