NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/54154: NetBSD gdb does not interoperate with qemu 4.0.0 gdb stub
The following reply was made to PR bin/54154; it has been noted by GNATS.
From: Andreas Gustafsson <gson%gson.org@localhost>
To: coypu%sdf.org@localhost
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: bin/54154: NetBSD gdb does not interoperate with qemu 4.0.0 gdb stub
Date: Fri, 3 May 2019 13:50:07 +0300
coypu%sdf.org@localhost wrote:
> This isn't netbsd specific, its because i386 vs. x86_64 remote
> debugging.
My working assumption is that gdb is confused about i386 vs x86_64
because it is unable to parse the XML target description, which in
turn is due to the XML support being disabled in the NetBSD build.
That would count as "NetSBD specific" in my book.
> Does this help "set architecture i386:x86-64:intel"
No, it does not:
# gdb /netbsd
GNU gdb (GDB) 8.0.1
[...]
Reading symbols from /netbsd...done.
(gdb) set architecture i386:x86-64:intel
warning: A handler for the OS ABI "NetBSD" is not built into this configuration
of GDB. Attempting to continue with the default i386:x86-64:intel settings.
The target architecture is assumed to be i386:x86-64:intel
(gdb) target remote guido.araneus.fi:1234
Remote debugging using guido.araneus.fi:1234
warning: Can not parse XML target description; XML support was disabled at compile time
Remote 'g' packet reply is too long (expected 308 bytes, got 344 bytes): 5cdf1cc20600000006000000000000001060
(gdb) bt
No stack.
(gdb)
--
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index