This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/13969] New: GDBserver doesn't check unsupported binary


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]