binutils-gdb/gdb/testsuite/gdb.trace
Pedro Alves 0646e07d6e x32: Fix gdb.trace/mi-trace-frame-collected.exp
gdb.trace/mi-trace-frame-collected.exp has a couple failures on x32:

 FAIL: gdb.trace/mi-trace-frame-collected.exp: live: -trace-frame-collected (register)
 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (register)

gdb.log:

 -trace-frame-collected
 ^done,explicit-variables=[{name="gdb_char_test",value="0 '\\000'"}],computed-expressions=[],registers=[{number="16",value="0x4004dc"},{number="204",value="0x4004dc"}],tvars
 =[],memory=[{address="0x00601060",length="1"}]
 (gdb)
 FAIL: gdb.trace/mi-trace-frame-collected.exp: live: -trace-frame-collected (register)
[...]
 -trace-frame-collected
 ^done,explicit-variables=[{name="gdb_char_test",value="0 '\\000'"}],computed-expressions=[],registers=[{number="16",value="0x4004dc"},{number="204",value="0x4004dc"}],tvars
 =[],memory=[{address="0x00601060",length="1"}]
 (gdb)
 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (register)

This test only collects the PC, and thus expects to only see one
register in the output of -trace-frame-collected.  However, while on
the 64-bit ABI gdb only exposes 64-bit $pc/$rip (register 16 above),
on x32, GDB exposes 32-bit $eip as well, as a pseudo-register
(register 204 above).  Thus, collecting $pc/$rip automatically always
collects $eip as well.

gdb/testsuite/ChangeLog:
2016-08-19  Pedro Alves  <palves@redhat.com>

	* gdb.trace/mi-trace-frame-collected.exp
	(test_trace_frame_collected): On x32, expect two registers.
2016-08-19 12:13:47 +01:00
..
actions-changed.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
actions-changed.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
actions.c gdb.trace/tfind.exp: Force call via global entry point on ppc64le. 2016-03-09 18:46:12 +01:00
actions.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
ax.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
backtrace.exp gdb.trace/testsuite: Bump stack collection fudge factor. 2016-01-25 13:19:22 +01:00
change-loc-1.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
change-loc-2.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
change-loc.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
change-loc.exp Rename gdb_load_shlibs to gdb_load_shlib 2016-04-27 18:09:14 -04:00
change-loc.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
circ.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
circ.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
collection.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
collection.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
deltrace.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
disconnected-tracing.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
disconnected-tracing.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
entry-values.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
entry-values.exp gdb.trace/entry-values.exp: Fixes for powerpc64. 2016-03-09 18:47:11 +01:00
ftrace-lock.c Fix gdb.trace/ftrace-lock.c compilation 2016-03-01 17:42:47 +00:00
ftrace-lock.exp ftrace tests: Use gdb_load_shlib result to lookup IPA in info sharedlibrary 2016-04-28 09:49:01 -04:00
ftrace.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
ftrace.exp Move trace conditions tests from ftrace.exp to trace-condition.exp 2016-05-30 12:51:13 -04:00
infotrace.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
mi-trace-frame-collected.exp x32: Fix gdb.trace/mi-trace-frame-collected.exp 2016-08-19 12:13:47 +01:00
mi-trace-unavailable.exp gdbserver/s390: Switch on tracepoint support. 2016-03-29 23:08:05 +02:00
mi-traceframe-changed.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
mi-tracepoint-changed.exp Rename gdb_load_shlibs to gdb_load_shlib 2016-04-27 18:09:14 -04:00
mi-tsv-changed.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
no-attach-trace.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
no-attach-trace.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
packetlen.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
passc-dyn.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
passcount.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
pending.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
pending.exp Rename gdb_load_shlibs to gdb_load_shlib 2016-04-27 18:09:14 -04:00
pendshr1.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
pendshr2.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
pr16508.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
qtro.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
qtro.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
range-stepping.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
range-stepping.exp ftrace tests: Use gdb_load_shlib result to lookup IPA in info sharedlibrary 2016-04-28 09:49:01 -04:00
read-memory.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
read-memory.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
report.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
save-trace.exp testsuite: Fix save-trace.exp writing outside standard output directory 2016-02-16 09:01:38 -05:00
signal.c New test case gdb.trace/signal.exp 2016-04-22 11:59:18 +01:00
signal.exp Deliver signal in hardware single step 2016-04-22 11:59:18 +01:00
stap-trace.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
stap-trace.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
status-stop.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
status-stop.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
strace.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
strace.exp Rename gdb_load_shlibs to gdb_load_shlib 2016-04-27 18:09:14 -04:00
tfile.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tfile.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tfind.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
trace-break.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
trace-break.exp ftrace tests: Use gdb_load_shlib result to lookup IPA in info sharedlibrary 2016-04-28 09:49:01 -04:00
trace-buffer-size.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
trace-buffer-size.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
trace-common.h gdbserver/s390: Switch on tracepoint support. 2016-03-29 23:08:05 +02:00
trace-condition.c Add variable length tests for emit_ref in trace-condition.exp 2016-05-30 12:51:13 -04:00
trace-condition.exp Add tests for 64bit values in trace-condition.exp 2016-05-30 12:51:13 -04:00
trace-enable-disable.c Add test for tracepoint enable/disable 2016-04-28 12:56:08 -04:00
trace-enable-disable.exp Add test for tracepoint enable/disable 2016-04-28 12:56:08 -04:00
trace-mt.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
trace-mt.exp ftrace tests: Use gdb_load_shlib result to lookup IPA in info sharedlibrary 2016-04-28 09:49:01 -04:00
trace-unavailable.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tracecmd.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tracefile-pseudo-reg.c Move tfile-avx.exp to tracefile-pseudo-reg.exp 2016-02-24 14:23:47 -05:00
tracefile-pseudo-reg.exp Move tfile-avx.exp to tracefile-pseudo-reg.exp 2016-02-24 14:23:47 -05:00
tspeed.c Determine the iteration count based on wallclock instead of user+system time. 2016-02-18 20:23:00 +01:00
tspeed.exp Fix missing IPA lib in tspeed.exp in some configurations. 2016-01-20 12:30:53 -05:00
tstatus.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tsv.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
unavailable-dwarf-piece.c gdb.trace: Use manually-defined start labels in unavailable-dwarf-piece.exp 2016-03-09 18:44:57 +01:00
unavailable-dwarf-piece.exp gdb.trace: Use manually-defined start labels in unavailable-dwarf-piece.exp 2016-03-09 18:44:57 +01:00
unavailable.cc GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
unavailable.exp Fix fails in gdb.trace/unavailable.exp 2016-04-22 17:23:23 +01:00
while-dyn.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
while-stepping.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00