🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #265

signal problems on sun4os4 with gdb.3.2.xxx

#265
From: Jeff Sparkes
Date: Wed, 20 Sep 1989 11:06
61 lines
2331 bytes
gdb 3.2.xxx is not handling signals properly on a SUN4 running 4.0.

Script started on Wed Sep 20 12:04:37 1989
-docboy- gdb bash
GDB 3.2.xxx, Copyright (C) 1989 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /users/cs/staff/jeff1/src/bash-1.03/bash...done.
Type "help" for a list of commands.
(gdb) r
Starting program: /users/cs/staff/jeff1/src/bash-1.03/bash 
unknown mode: mdmbuf
cyril ed grant jeff1 jeff1 larry michael tony4

 12:04pm  up 6 days,  1:13,  8 users,  load average: 0.02, 0.00, 0.00

/dev/ttyp8: Not owner
-/users/cs/staff/jeff1/src/bash-1.03/bash docboy- exit
logout

Program exited normally.
[1] + Stopped (tty output) gdb bash
-docboy- exit
You have stopped jobs
-docboy- ^D
script done on Wed Sep 20 12:04:59 1989

and is not even handling the simple case properly:

Script started on Wed Sep 20 11:49:15 1989
-docboy- cat t.c
main()
{
        char s[100];
        (void) gets(s);
}
-docboy- gcc -g t.c
-docboy- gdb a.out
GDB 3.2.xxx, Copyright (C) 1989 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /usr/tmp/a.out...done.
Type "help" for a list of commands.
(gdb) r
Starting program: /usr/tmp/a.out 

Program received signal 21, Stopped (tty input)
0x2bec in read ()
(gdb) quit
The program is running.  Quit anyway? (y or n) y
-docboy- ^D

script done on Wed Sep 20 11:59:36 1989


--
Jeff Sparkes	jeff1@garfield.mun.edu || uunet!garfield!jeff1

					
Technical Details
Message-ID: <JEFF1.89Sep20120634@docboy.mun.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!garfield!stretch!jeff1

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!garfield!stretch!jeff1
From: jeff1@garfield.mun.edu (Jeff Sparkes)
Newsgroups: gnu.gdb.bug
Subject: signal problems on sun4os4 with gdb.3.2.xxx
Message-ID: <JEFF1.89Sep20120634@docboy.mun.edu>
Date: 20 Sep 89 11:06:34 GMT
Sender: news@stretch.MUN.EDU
Distribution: gnu
Organization: Memorial University of Newfoundland
Lines: 61