diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/value.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b865930..6899c34 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2014-01-16 Tom Tromey <tromey@redhat.com> + * value.c (struct value) <regnum>: Move earlier. + +2014-01-16 Tom Tromey <tromey@redhat.com> + * remote.c (extended_remote_create_inferior): Rename from extended_remote_create_inferior_1. Add "ops" argument. Remove old implementation. diff --git a/gdb/value.c b/gdb/value.c index 8542316..0e13b76 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -216,6 +216,9 @@ struct value /* If the value has been released. */ unsigned int released : 1; + /* Register number if the value is from a register. */ + short regnum; + /* Location of value (if lval). */ union { @@ -324,9 +327,6 @@ struct value taken off this list. */ struct value *next; - /* Register number if the value is from a register. */ - short regnum; - /* Actual contents of the value. Target byte-order. NULL or not valid if lazy is nonzero. */ gdb_byte *contents; |