old-cross-binutils/gdb/testsuite/gdb.trace
Andrew Burgess eebc056c8e Print entirely unavailable struct/union values as a single <unavailable>.
When printing an entirely optimized out structure/class/union, we
print a single <optimized out> instead of printing <optimized out> for
each field.

This patch makes an entirely unavailable structure/class/union be
likewise displayed with a single "<unavailable>" rather than the whole
object with all fields <unavailable>.

This seems good because this way the user can quickly tell whether the
whole value is unavailable, rather than having to skim all fields.
Consistency with optimized out values also seems to be a good thing to
have.

A few updates to gdb.trace/unavailable.exp where required.

Tested on x86_64 Fedora 17, native gdbserver.

gdb/
2013-11-28  Andrew Burgess  <aburgess@broadcom.com>
	    Pedro Alves  <palves@redhat.com>

	* valprint.c (value_check_printable): If the value is entirely
	unavailable, print a single "<unavailable>" instead of printing
	all subfields.

gdb/testsuite/
2013-11-28  Andrew Burgess  <aburgess@broadcom.com>

	* gdb.trace/unavailable.exp (gdb_collect_args_test): Update
	expected results.
	(gdb_collect_locals_test): Likewise.
	(gdb_collect_globals_test): Likewise.
2013-11-28 18:54:20 +00:00
..
actions-changed.c
actions-changed.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
actions.c
actions.exp * gdb.trace/actions.exp (check_tracepoint): Don't use a full file 2013-06-21 17:18:45 +00:00
ax.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
backtrace.exp gdb/ 2013-07-31 00:44:42 +00:00
change-loc-1.c
change-loc-2.c
change-loc.c
change-loc.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
change-loc.h
circ.c
circ.exp
collection.c
collection.exp gdb/ 2013-08-09 00:35:40 +00:00
deltrace.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
disconnected-tracing.c
disconnected-tracing.exp testsuite: Persistent gdbserver cleanup 2013-10-25 14:03:00 +00:00
entry-values.c gdb/testsuite/ 2013-08-24 01:54:59 +00:00
entry-values.exp gdb/testsuite/ 2013-10-02 18:09:26 +00:00
ftrace.c
ftrace.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
infotrace.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
Makefile.in
mi-trace-frame-collected.exp gdb/testsuite/ 2013-06-26 08:28:27 +00:00
mi-trace-unavailable.exp Add options to skip unavailable locals 2013-08-27 05:20:57 +00:00
mi-traceframe-changed.exp fix up gdb.trace 2013-11-04 11:02:06 -07:00
mi-tracepoint-changed.exp
mi-tsv-changed.exp
packetlen.exp
passc-dyn.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
passcount.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
pending.c
pending.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
pendshr1.c
pendshr2.c
qtro.c
qtro.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
range-stepping.c
range-stepping.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
read-memory.c gdb/testsuite/ 2013-07-18 23:04:00 +00:00
read-memory.exp gdb/ 2013-07-18 23:09:49 +00:00
report.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
save-trace.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
stap-trace.c
stap-trace.exp
status-stop.c
status-stop.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
strace.c
strace.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
tfile.c fix up gdb.trace 2013-11-04 11:02:06 -07:00
tfile.exp fix up gdb.trace 2013-11-04 11:02:06 -07:00
tfind.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
trace-break.c
trace-break.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
trace-buffer-size.c
trace-buffer-size.exp
trace-mt.c
trace-mt.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
trace-unavailable.c Teach -data-list-register-values to not include unavailable registers 2013-06-20 00:39:11 +00:00
tracecmd.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
tspeed.c
tspeed.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
tstatus.exp
tsv.exp Upload tsv earlier in remote_start_remote 2013-06-25 13:01:28 +00:00
unavailable.cc
unavailable.exp Print entirely unavailable struct/union values as a single <unavailable>. 2013-11-28 18:54:20 +00:00
while-dyn.exp
while-stepping.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00