input handling broken in gdb

Bruce Evans bde at zeta.org.au
Thu Apr 10 05:28:11 PDT 2003


gdb now mishandles stdin:

%%%
Script started on Thu Apr 10 22:23:30 2003
ttyv1:root at gamplex:/tmp> echo "p hz" | gdb -k /kernel /dev/mem
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
(no debugging symbols found)...
panic messages:
---
---
#0  0xc01c98ff in mi_switch ()
(kgdb) Hangup detected on fd 0
error detected on stdin
ttyv1:root at gamplex:/tmp> exit

Script done on Thu Apr 10 22:23:43 2003
%%%

This is with my version of an uncurrent version of -current.  Does -current
have the same bug?

Bruce


More information about the freebsd-current mailing list