This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/13969] New: GDBserver doesn't check unsupported binary
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 11 Apr 2012 19:04:52 +0000
- Subject: [Bug gdb/13969] New: GDBserver doesn't check unsupported binary
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13969
Bug #: 13969
Summary: GDBserver doesn't check unsupported binary
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: hjl.tools@gmail.com
Classification: Unclassified
When I ran i386 GDBserver on x86-64 binary, I got
# ./gdbserver-32bit :12345 ./64
Process ./64 created; pid = 32687
Listening on port 12345
Remote debugging from host 127.0.0.1
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
Listening on port 12345
# ./gdb ./64
...
(gdb) target remote :12345
Remote debugging using :12345
warning: Selected architecture i386:x86-64 is not compatible with reported
target architecture i386
warning: Architecture rejected target-supplied description
Reply contains invalid hex digit 59
(gdb)
GDBserver stuck and I had to kill GDBserver by hand.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.