lance604 at gmail dot com
2018-08-01 09:24:37 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23473
Bug ID: 23473
Summary: remote debugging of x32 application fails when target
cpu has mpx support
Product: gdb
Version: 8.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: remote
Assignee: unassigned at sourceware dot org
Reporter: lance604 at gmail dot com
Target Milestone: ---
Problem seen with gdb 8.1 and 7.12.1 (other versions were not tested).
Test scenario fails when target CPU has MPX support, with gdbserver output when
gdb connects to gdbserver:
$ bin/gdbserver localhost:9999 ./foo
Process ./foo created; pid = 8243
Listening on port 9999
Remote debugging from host 127.0.0.1
regcache.c:252: A problem internal to GDBserver has been detected.
Unknown register bnd0raw requested
Apparently gdb is requesting an MPX-related register "bnd0raw", but this fails
because MPX is not supported by the x32 ABI.
This problem has been observed on the following platforms:
- Ubuntu 18.04 on i7-8700K (Coffee Lake, with MPX support)
- Debian 9 with 4.14.59 kernel.org kernel on Atom C3758 (Denverton, with MPX
support)
Remote debugging of x32 targets has been observed to work with no issue on the
following plaforms:
- Ubuntu 18.04 on i7-4790K (Haswell, no MPX support)
- Linux with 4.14.57 kernel on Atom C2558 (Rangeley, no MPX support)
Bug ID: 23473
Summary: remote debugging of x32 application fails when target
cpu has mpx support
Product: gdb
Version: 8.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: remote
Assignee: unassigned at sourceware dot org
Reporter: lance604 at gmail dot com
Target Milestone: ---
Problem seen with gdb 8.1 and 7.12.1 (other versions were not tested).
Test scenario fails when target CPU has MPX support, with gdbserver output when
gdb connects to gdbserver:
$ bin/gdbserver localhost:9999 ./foo
Process ./foo created; pid = 8243
Listening on port 9999
Remote debugging from host 127.0.0.1
regcache.c:252: A problem internal to GDBserver has been detected.
Unknown register bnd0raw requested
Apparently gdb is requesting an MPX-related register "bnd0raw", but this fails
because MPX is not supported by the x32 ABI.
This problem has been observed on the following platforms:
- Ubuntu 18.04 on i7-8700K (Coffee Lake, with MPX support)
- Debian 9 with 4.14.59 kernel.org kernel on Atom C3758 (Denverton, with MPX
support)
Remote debugging of x32 targets has been observed to work with no issue on the
following plaforms:
- Ubuntu 18.04 on i7-4790K (Haswell, no MPX support)
- Linux with 4.14.57 kernel on Atom C2558 (Rangeley, no MPX support)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.