diff options
author | Joern Rennecke <joern.rennecke@arc.com> | 2009-09-11 04:45:40 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@arc.com> | 2009-09-11 04:45:40 +0000 |
commit | c0b9c0330ac498673282832d8714d013569ca986 (patch) | |
tree | 7524276d1d63cb4ab23038ae8361a0228325863a /gdb/symtab.h | |
parent | 139d19ee035d132be681a95ece3bbe230664ea9c (diff) | |
download | gdb-arc-insight_6_8-branch.tar.gz |
gdb/insight for ARCompact (from Richard Stuckey)arc-insight_6_8-branch
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index c19e74124c2..0d751a7008e 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -574,6 +574,26 @@ struct symbol_ops struct value *(*read_variable) (struct symbol * symbol, struct frame_info * frame); +// begin ARC + /* Return the address of the variable SYMBOL, relative to the stack + frame FRAME. If the variable has been optimized out, return + zero. + + Iff `read_needs_frame (SYMBOL)' is zero, then FRAME may be zero. */ + + CORE_ADDR (*get_variable_address) (struct symbol * symbol, + struct frame_info * frame); + + /* Return the size of the variable SYMBOL, relative to the stack + frame FRAME. If the variable has been optimized out, return + zero. + + Iff `read_needs_frame (SYMBOL)' is zero, then FRAME may be zero. */ + + unsigned int (*get_variable_size) (struct symbol * symbol, + struct frame_info * frame); +// end ARC + /* Return non-zero if we need a frame to find the value of the SYMBOL. */ int (*read_needs_frame) (struct symbol * symbol); |