diff options
author | Andrew Stubbs <andrew.stubbs@st.com> | 2006-03-31 10:36:18 +0000 |
---|---|---|
committer | Andrew Stubbs <andrew.stubbs@st.com> | 2006-03-31 10:36:18 +0000 |
commit | d3c139e92615d7029c6b34c0ae68e02b54571a98 (patch) | |
tree | 2eca9611b0a5248d06325a0d80ec9041fd2412f3 /gdb/value.h | |
parent | a4ef73e9a203f3c12f1ccd670933fe2b782cbd9f (diff) | |
download | gdb-d3c139e92615d7029c6b34c0ae68e02b54571a98.zip gdb-d3c139e92615d7029c6b34c0ae68e02b54571a98.tar.gz gdb-d3c139e92615d7029c6b34c0ae68e02b54571a98.tar.bz2 |
2006-03-31 Andrew Stubbs <andrew.stubbs@st.com>
* value.h (struct internalvar): Add field 'endian'.
* value.c (lookup_internalvar): Initialise endian.
(value_of_internalvar): Flip the endian of built-in types if required.
(set_internalvar): Set the endian.
(show_convenience): Access the value through value_of_internalvar().
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h index e197235..a878ec4 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -245,6 +245,7 @@ struct internalvar struct internalvar *next; char *name; struct value *value; + int endian; }; |