NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/54154: NetBSD gdb does not interoperate with qemu 4.0.0 gdb stub

>Number:         54154
>Category:       bin
>Synopsis:       NetBSD gdb does not interoperate with qemu 4.0.0 gdb stub
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 03 07:45:00 +0000 2019
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current

System: NetBSD
Architecture: i386
Machine: i386

When I try to remotely debug NetBSD-current/i386 under qemu 4.0.0 from
pkgsrc, running gdb on a NetBSD-current/i386 system identical to the
target per 
debugging fails with the error "Remote 'g' packet reply is too long":

  (gdb) target remote
  Remote debugging using
  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): 00000000fc3e20adfc3e20ad004072add8af97c9e848470000000000887472ad604311c04600000008000000100000001f000

I have tested this with -current source dates 2019. and
2018., and both fail the same way.  Remote debugging of
-current worked for me around 2018.03, so the triggering factor
appears to be a recent qemu, not a recent -current.

I wonder if building gdb with XML support would fix this.



Home | Main Index | Thread Index | Old Index