Bug 22021 - Multi-arch exec fails with a remote target
Summary: Multi-arch exec fails with a remote target
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: remote (show other bugs)
Version: 8.0
: P2 normal
Target Milestone: 8.0.1
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 20:57 UTC by Simon Marchi
Modified: 2017-09-07 06:17 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Continuing.
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