* linespec.c: #include "stack.h".
[deliverable/binutils-gdb.git] / gdb / stack.c
index 02e36ca2e004dfe01ce7cf6c92f56932f0da33d3..2520e2c36db0804a8aa7797aa0e25c15fa492b7a 100644 (file)
@@ -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);
This page took 0.024088 seconds and 4 git commands to generate.