From d3c139e92615d7029c6b34c0ae68e02b54571a98 Mon Sep 17 00:00:00 2001 From: Andrew Stubbs Date: Fri, 31 Mar 2006 10:36:18 +0000 Subject: 2006-03-31 Andrew Stubbs * 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(). --- gdb/value.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/value.h') 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; }; -- cgit v1.1