diff options
Diffstat (limited to 'gdb/language.h')
-rw-r--r-- | gdb/language.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/language.h b/gdb/language.h index 76dad32..d612c70 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -252,6 +252,15 @@ struct language_defn void (*la_value_print) (struct value *, struct ui_file *, const struct value_print_options *); + /* Given a symbol VAR, and a stack frame id FRAME, read the value + of the variable an return (pointer to a) struct value containing + the value. + + Throw an error if the variable cannot be found. */ + + struct value *(*la_read_var_value) (struct symbol *var, + struct frame_info *frame); + /* PC is possibly an unknown languages trampoline. If that PC falls in a trampoline belonging to this language, return the address of the first pc in the real function, or 0 |