public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug gdb/13969] New: GDBserver doesn't check unsupported binary @ 2012-04-11 19:05 hjl.tools at gmail dot com 2012-04-12 15:36 ` [Bug gdb/13969] " cvs-commit at gcc dot gnu.org 2023-02-15 17:06 ` tromey at sourceware dot org 0 siblings, 2 replies; 3+ messages in thread From: hjl.tools at gmail dot com @ 2012-04-11 19:05 UTC (permalink / raw) To: gdb-prs 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gdb/13969] GDBserver doesn't check unsupported binary 2012-04-11 19:05 [Bug gdb/13969] New: GDBserver doesn't check unsupported binary hjl.tools at gmail dot com @ 2012-04-12 15:36 ` cvs-commit at gcc dot gnu.org 2023-02-15 17:06 ` tromey at sourceware dot org 1 sibling, 0 replies; 3+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2012-04-12 15:36 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=13969 --- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-04-12 15:35:40 UTC --- CVSROOT: /cvs/src Module name: src Changes by: hjl@sourceware.org 2012-04-12 15:35:32 Modified files: gdb/gdbserver : ChangeLog linux-low.c linux-low.h linux-x86-low.c Log message: Check if GDBserver is compatible with process PR gdb/13969 * linux-low.c (linux_pid_exe_is_elf_64_file): Also return the e_machine field. (linux_qxfer_libraries_svr4): Update call to elf_64_file_p. * linux-low.h (linux_pid_exe_is_elf_64_file): Updated. * linux-x86-low.c (x86_arch_setup): Check if GDBserver is compatible with process. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.589&r2=1.590 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-low.c.diff?cvsroot=src&r1=1.212&r2=1.213 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-low.h.diff?cvsroot=src&r1=1.54&r2=1.55 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-x86-low.c.diff?cvsroot=src&r1=1.39&r2=1.40 -- 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gdb/13969] GDBserver doesn't check unsupported binary 2012-04-11 19:05 [Bug gdb/13969] New: GDBserver doesn't check unsupported binary hjl.tools at gmail dot com 2012-04-12 15:36 ` [Bug gdb/13969] " cvs-commit at gcc dot gnu.org @ 2023-02-15 17:06 ` tromey at sourceware dot org 1 sibling, 0 replies; 3+ messages in thread From: tromey at sourceware dot org @ 2023-02-15 17:06 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=13969 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |tromey at sourceware dot org Status|NEW |RESOLVED --- Comment #2 from Tom Tromey <tromey at sourceware dot org> --- I think this was probably fixed by that commit. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-15 17:06 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-04-11 19:05 [Bug gdb/13969] New: GDBserver doesn't check unsupported binary hjl.tools at gmail dot com 2012-04-12 15:36 ` [Bug gdb/13969] " cvs-commit at gcc dot gnu.org 2023-02-15 17:06 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).