* tracepoint.c (scope_info): Update.

* symtab.c (decode_line_spec): Update.
	* python/python.c (gdbpy_decode_line): Update.
	* linespec.h (decode_line_1): Update.
	* linespec.c (decode_line_1): Remove 'not_found_ptr' argument.
	(decode_compound, find_method, symtab_from_filename)
	(decode_variable): Likewise.
	* cli/cli-cmds.c (edit_command): Update.
	(list_command): Update.
	* breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr'
	argument.
	(create_breakpoint): Update.
	(until_break_command): Update.
	(addr_string_to_sals): Update.
	(decode_line_spec_1): Update.
This commit is contained in:
Tom Tromey
2011-04-04 17:41:07 +00:00
parent a3293649cd
commit 58438ac187
8 changed files with 61 additions and 82 deletions

View File

@@ -4375,7 +4375,7 @@ decode_line_spec (char *string, int funfirstline)
sals = decode_line_1 (&string, funfirstline,
cursal.symtab, cursal.line,
NULL, NULL);
NULL);
if (*string)
error (_("Junk at end of line specification: %s"), string);