Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 22:28:06 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org
Subject:   input handling broken in gdb
Message-ID:  <20030410222414.C1200@gamplex.bde.org>

next in thread | raw e-mail | index | archive | help
gdb now mishandles stdin:

%%%
Script started on Thu Apr 10 22:23:30 2003
ttyv1:root@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030410222414.C1200>