Keep pointer property of address values that are not strings.
commit0d541c0de83dc5a1af78705d1a8d7dbf19b99b4b
authorJohannes Sixt <j6t@kdbg.org>
Fri, 6 Sep 2013 21:46:08 +0000 (6 23:46 +0200)
committerJohannes Sixt <j6t@kdbg.org>
Fri, 6 Sep 2013 21:46:08 +0000 (6 23:46 +0200)
treeb332dc7f0a54a0875c40eb2a1ee2e5a74e238d35
parent8f49a9d3916dc31a0a929da2af77bc622155909f
Keep pointer property of address values that are not strings.

Frequently, GDB prints an address followed by text in angle brackets. The
parser cleared the pointer property when it found something behind an
address, assuming that it is the value that the pointer points to. But
this assumption works only for strings.

In other cases, the text is something else, such as the name of the global
variable that the pointer value represents, e.g. 0x123456 <globalvar>.
Since the pointer property was cleared, the display did not allow to
expand such augmented addresses. Clear the pointer property only when we
know that there is a sting value.
kdbg/gdbdriver.cpp
kdbg/testprogs/testfile.cpp