input handling broken in gdb

From: Bruce Evans <bde_at_zeta.org.au>
Date: Thu, 10 Apr 2003 22:28:06 +1000 (EST)
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
Received on Thu Apr 10 2003 - 03:28:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC