Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb not setting controlling terminal (fwd)
@ 1999-04-09 15:13 H.J. Lu
  1999-04-09 16:40 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 1999-04-09 15:13 UTC (permalink / raw)
  To: gdb

Forwarded message:
From svivanov@pdmi.ras.ru Fri Apr 09 15:13:00 1999
From: Sergei Ivanov <svivanov@pdmi.ras.ru>
To: hjl@lucon.org
Subject: gdb not setting controlling terminal
Date: Fri, 09 Apr 1999 15:13:00 -0000
Message-id: <m10Vf7r-000Ll6C@svivano.pdmi.ras.ru>
X-SW-Source: 1999-q2/msg00012.html
Content-length: 1358

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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* gdb not setting controlling terminal (fwd)
  1999-04-09 15:13 gdb not setting controlling terminal (fwd) H.J. Lu
@ 1999-04-09 16:40 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 1999-04-09 16:40 UTC (permalink / raw)
  To: gdb

Forwarded message:
From svivano.pdmi.ras.ru!serg Fri Apr  9 10:31:42 1999
Message-Id: <m10Vf7r-000Ll6C@svivano.pdmi.ras.ru>
From: Sergei Ivanov <svivanov@pdmi.ras.ru>
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 <neeam@yahoo.com>
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-04-09 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-09 15:13 gdb not setting controlling terminal (fwd) H.J. Lu
1999-04-09 16:40 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox