diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-10-27 17:05:40 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-10-27 17:05:40 +0000 |
commit | b56d6f31a9b4b25da4f3b853ee97a290c8bc4727 (patch) | |
tree | 6a8da8c715c5de320beb7f33351e7f2e576a5459 /gdb/value.h | |
parent | d234ef5c0cca9ae4737cfcd833555db14dc0ead0 (diff) | |
download | gdb-b56d6f31a9b4b25da4f3b853ee97a290c8bc4727.zip gdb-b56d6f31a9b4b25da4f3b853ee97a290c8bc4727.tar.gz gdb-b56d6f31a9b4b25da4f3b853ee97a290c8bc4727.tar.bz2 |
handle variables stored in muliple consecutive registers
gdb/ChangeLog:
* value.h (read_frame_register_value): Add declaration.
* findvar.c (read_frame_register_value): New function.
(value_from_register): Use read_frame_register_value
instead of get_frame_register_value + value_contents_copy
to get value contents.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h index f18390e..d2c58ec 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -502,6 +502,9 @@ extern struct value *default_value_from_register (struct type *type, int regnum, struct frame_info *frame); +extern void read_frame_register_value (struct value *value, + struct frame_info *frame); + extern struct value *value_from_register (struct type *type, int regnum, struct frame_info *frame); |