diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-12-07 03:56:43 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-12-07 03:56:43 +0000 |
commit | ecd8390290ac2bf41f22122ea01924dcd108af34 (patch) | |
tree | fc8310b6f500d05013970d228f2993a81dd6b14b /gdb/value.h | |
parent | c13f725cbfef435a3cbc607745a9b917a756c101 (diff) | |
download | gdb-ecd8390290ac2bf41f22122ea01924dcd108af34.tar.gz |
import gdb-1999-12-06 snapshot
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/value.h b/gdb/value.h index 5a92882bc08..d1b68911379 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -38,7 +38,9 @@ struct value /* Location of value (if lval). */ union { - /* Address in inferior or byte of registers structure. */ + /* If lval == lval_memory, this is the address in the inferior. + If lval == lval_register, this is the byte offset into the + registers structure. */ CORE_ADDR address; /* Pointer to internal variable. */ struct internalvar *internalvar; @@ -48,8 +50,10 @@ struct value } location; /* Describes offset of a value within lval of a structure in bytes. - This is used in retrieving contents from target memory. [Note also - the member embedded_offset below.] */ + If lval == lval_memory, this is an offset to the address. + If lval == lval_register, this is a further offset from + location.address within the registers structure. + Note also the member embedded_offset below. */ int offset; /* Only used for bitfields; number of bits contained in them. */ int bitsize; |