Bug 22021

Summary: Multi-arch exec fails with a remote target
Product: gdb Reporter: Simon Marchi <simon.marchi>
Component: remoteAssignee: Not yet assigned to anyone <unassigned>
Severity: normal    
Priority: P2    
Version: 8.0   
Target Milestone: 8.0.1   
Host: Target:
Build: Last reconfirmed:

Description Simon Marchi 2017-08-28 20:57:30 UTC
Starting with gdb 8.0, this test fails:

$ make check RUNTESTFLAGS="--target_board=native-extended-gdbserver" TESTS="gdb.multi/multi-arch-exec.exp"
# of unexpected failures	1

In gdb.log, when trying to "continue" across the exec:

(gdb) continue
Truncated register 50 in remote 'g' packet
Truncated register 50 in remote 'g' packet

More details in this thread: https://sourceware.org/ml/gdb-patches/2017-08/threads.html#00488
Comment 1 Simon Marchi 2017-09-07 06:17:28 UTC
Fixed by this series: https://sourceware.org/ml/gdb-patches/2017-08/msg00503.html