mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +08:00
* linespec.c: #include "stack.h".
(decode_line_with_current_source): Moved here from symtab.c and renamed from decode_line_spec. All callers updated. (decode_line_with_last_displayed): Moved here from breakpoint.c and renamed from decode_line_spec_1. All callers updated. * linespec.h (decode_line_with_current_source): Move declaration here from symtab.h and renamed from decode_line_spec. (decode_line_with_last_displayed): Move declaration here from symtab.h and renamed from decode_line_spec_1. * macrocmd.c: #include "linespec.h". * symtab.c: Remove #include "linespec.h".
This commit is contained in:
@ -2373,7 +2373,7 @@ func_command (char *arg, int from_tty)
|
||||
return;
|
||||
|
||||
frame = parse_frame_specification ("0");
|
||||
sals = decode_line_spec (arg, DECODE_LINE_FUNFIRSTLINE);
|
||||
sals = decode_line_with_current_source (arg, DECODE_LINE_FUNFIRSTLINE);
|
||||
cleanups = make_cleanup (xfree, sals.sals);
|
||||
func_bounds = (struct function_bounds *) xmalloc (
|
||||
sizeof (struct function_bounds) * sals.nelts);
|
||||
|
Reference in New Issue
Block a user