From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: gdb@cygnus.com Subject: gdb not setting controlling terminal (fwd) Date: Fri, 09 Apr 1999 16:40:00 -0000 Message-ID: X-SW-Source: 1999-04/msg00011.html Message-ID: <19990409164000.qRs-mB1Y2CW02GJ7C88k8AH2I2yWnRvnAExuzElIIs4@z> Forwarded message: >From svivano.pdmi.ras.ru!serg Fri Apr 9 10:31:42 1999 Message-Id: From: Sergei Ivanov Subject: gdb not setting controlling terminal To: hjl@lucon.org Date: Fri, 9 Apr 1999 21:31:31 +0400 (MSD) Organization: Steklov Institute of Mathematics at St.Petersburg Reply-To: svivanov@pdmi.ras.ru X-Mailer: ELM [version 2.4 PL25] Hello With gdb-4.17.0.11 under linux-2.2.5 & glibc-2.1 (all compiled by egcs-1.1.X), I have the following gdb session on the console: ----------- ~$ gdb /usr/bin/less GNU gdb 4.17.0.11 with Linux support Copyright 1998 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 "i586-pc-linux-gnu"... (no debugging symbols found)... (gdb) set args a.c (gdb) tty /dev/tty7 (gdb) run Starting program: /usr/bin/less a.c (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGTTIN, Stopped (tty input). 0x400fa354 in __read () (gdb) ------------ This happens after 'less' displayed its first screen (on /dev/tty7). 'ps' shows that that less runs _not_ on /dev/tty7 but on /dev/tty1 where gdb was started. Looks like 'tty' command in gdb redirects stdin/out/err but not the controlling terminal - contrary to the docs. /dev/tty7 is a fresh virtual console owned by the appropriate user. It is readable and writeable. The above session runs fine on my backup system: linux-2.0.33, libc-5.4.44, gdb-4.16. Regards Sergei -- H.J. Lu (hjl@gnu.org) >From neeam@yahoo.com Fri Apr 09 21:20:00 1999 From: Subrata Datta To: gdb@cygnus.com Cc: neeam@yahoo.com Subject: GDB support for i960 based card. Date: Fri, 09 Apr 1999 21:20:00 -0000 Message-id: <19990410031405.22489.rocketmail@web120.yahoomail.com> X-SW-Source: 1999-04/msg00012.html Content-length: 497 Hello, I'm looking gdb-stub for i960 based network card. I'm new to this. Would apprecaite any information, pointer. specifically looking for gdb-stubs for i960.. for break pointing support. Thanks, subrata. PS. appreciate an email response. === Subrata Datta neeam@yahoo.com === Subrata Datta neeam@yahoo.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com