🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #51

A bug

#51
From: Josh Siegel
Date: Fri, 23 Jun 1989 16:42
21 lines
1650 bytes
On a Sun4 running OS4.0

(gdb) print "hello"

#0  0xa704 in record_selected_frame (frameaddrp=(unsigned int *) 0xf7fff564, levelp=(int *) 0xf7fff568) (stack.c line 552)
#1  0x328f4 in save_inferior_status (inf_status=(struct inferior_status *) 0xf7fff524, restore_stack_info=1) (infrun.c line 1263)
#2  0x12bdc in call_function (function=(value) 0x691c0, nargs=1, args=(value *) 0xf7fff7d4) (valops.c line 505)
#3  0x13284 in value_string (ptr=(char *) 0x69180 "hello", len=5) (valops.c line 729)
#4  0xf61c in evaluate_subexp (expect_type=(struct type *) 0x0, exp=(struct expression *) 0x53078, pos=(int *) 0xc, noside=EVAL_NORMAL) (eval.c line 190)
#5  0xf344 in evaluate_expression (exp=(struct expression *) 0x69170) (eval.c line 118)
#6  0x1a24c in print_command (exp=(char *) 0x6077e "\"hello\"") (printcmd.c line 510)
#7  0x31a8 in execute_command (p=(char *) 0x6077e "\"hello\"", from_tty=1) (main.c line 423)
#8  0x32f4 in command_loop () (main.c line 447)
#9  0x2fd4 in main (argc=2, argv=(char **) 0xf7fffb04, envp=(char **) 0xf7fffb10) (main.c line 376)

I can't get it to do it when I "gdb gdb" but when I gdb one of
my own large programs, it dumps.

Does this open any doors or should I try to debug it myself?

			--JOsh
Technical Details
Message-ID: <8906231642.AA04921@eggroll.dspo.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!bloom-beacon!tut.cis.ohio-state.edu!EGGROLL.DSPO.GOV!siegel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!bloom-beacon!tut.cis.ohio-state.edu!EGGROLL.DSPO.GOV!siegel
From: siegel@EGGROLL.DSPO.GOV (Josh Siegel)
Newsgroups: gnu.gdb.bug
Subject: A bug
Message-ID: <8906231642.AA04921@eggroll.dspo.gov>
Date: 23 Jun 89 16:42:28 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21