siegel@EGGROLL.DSPO.GOV (Josh Siegel) (06/23/89)
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