aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2006-03-31 10:36:18 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2006-03-31 10:36:18 +0000
commitd3c139e92615d7029c6b34c0ae68e02b54571a98 (patch)
tree2eca9611b0a5248d06325a0d80ec9041fd2412f3 /gdb/value.h
parenta4ef73e9a203f3c12f1ccd670933fe2b782cbd9f (diff)
downloadfsf-binutils-gdb-d3c139e92615d7029c6b34c0ae68e02b54571a98.zip
fsf-binutils-gdb-d3c139e92615d7029c6b34c0ae68e02b54571a98.tar.gz
fsf-binutils-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.h1
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;
};