aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-08-08 05:10:10 +0000
committerYao Qi <yao@codesourcery.com>2013-08-08 05:10:10 +0000
commit82a0a75ff005db5ff174768120dddb13a6392c5c (patch)
tree0abc1f3c7c5b7b1e221d4ba1a545749153f79fa2 /gdb/frame.h
parent5c4aa40b937c4cb7eeafdc88b7f11e16b3caf503 (diff)
downloadgdb-82a0a75ff005db5ff174768120dddb13a6392c5c.zip
gdb-82a0a75ff005db5ff174768120dddb13a6392c5c.tar.gz
gdb-82a0a75ff005db5ff174768120dddb13a6392c5c.tar.bz2
gdb/
* frame.h (read_frame_local): Declare. * mi/mi-cmd-stack.c (list_args_or_locals): Call read_frame_local. * stack.c (read_frame_local): New. gdb/testsuite/ * gdb.trace/mi-trace-unavailable.exp: Don't set "print entry-values" to "no". (test_trace_unavailable): Set various values to "print entry-values" to test that the output of '-stack-list-locals' is not affected, and then set set "print entry-values" to "no".
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 31b9cb7..f02addf 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -714,6 +714,8 @@ struct frame_arg
extern void read_frame_arg (struct symbol *sym, struct frame_info *frame,
struct frame_arg *argp,
struct frame_arg *entryargp);
+extern void read_frame_local (struct symbol *sym, struct frame_info *frame,
+ struct frame_arg *argp);
extern void args_info (char *, int);