ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 19 Aug 2009 13:00:29 +0000 (13:00 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 19 Aug 2009 13:00:29 +0000 (13:00 +0000)
commitcab0c772ae2d1ffde31e4e8e60b3c2dcb1171bb7
tree6d587997843bf1fda0ba409f7af0e26c679aeeaa
parentbf1102165389c7168c446ce3dcc209046372d599
ChangeLog:

* value.c (enum internalvar_kind): Replace INTERNALVAR_SCALAR by
INTERNALVAR_INTEGER and INTERNALVAR_POINTER.
(union internalvar_data): Replace "scalar" member by "integer"
and "pointer".
(value_of_internalvar): Handle INTERNALVAR_INTEGER and
INTERNALVAR_POINTER instead of INTERNALVAR_SCALAR.
(get_internalvar_integer): Likewise.
(set_internalvar): Likewise.
(set_internalvar_integer): Likewise.
(preserve_one_internalvar): Likewise.
(value_from_pointer): Handle typedef'd pointer types.

testsuite/ChangeLog:

2009-08-19  Doug Evans  <dje@google.com>

* gdb.base/gdbvars.c: New file.
* gdb.base/gdbvars.exp: Test convenience vars with program variables.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gdbvars.c [new file with mode: 0644]
gdb/testsuite/gdb.base/gdbvars.exp
gdb/value.c