From owner-freebsd-current Fri May 26 10:23:21 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA00795 for current-outgoing; Fri, 26 May 1995 10:23:21 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id KAA00788 for ; Fri, 26 May 1995 10:23:18 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.3.6) id AA02681; Fri, 26 May 1995 13:23:14 -0400 Date: Fri, 26 May 1995 13:23:14 -0400 From: Garrett Wollman Message-Id: <9505261723.AA02681@halloran-eldar.lcs.mit.edu> To: Gene Stark Cc: current@FreeBSD.org Subject: gdb broken (can't find stack) In-Reply-To: <199505260559.BAA13019@starkhome.cs.sunysb.edu> References: <199505260559.BAA13019@starkhome.cs.sunysb.edu> Sender: current-owner@FreeBSD.org Precedence: bulk < said: > For my May 20 compiled gdb, I just observed that it couldn't find a stack > in a core dump file, though it seemed to be able to do it when tracing > an inferior: > gdb a.out > (gdb) bt > No stack. Looks to me like you didn't specify a core file to read from... wollman@khavrinen(542)$ cat ^\Quit (core dumped) wollman@khavrinen(543)$ gdb /usr/src/bin/cat/obj/cat cat.core GDB is free software and you are welcome to 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. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc...(no debugging symbols found)... Core was generated by `cat'. Program terminated with signal 3, Quit. #0 0x9c25 in read () (gdb) bt #0 0x9c25 in read () #1 0x1d98 in raw_cat () #2 0x1cef in raw_args () #3 0x17e6 in main () -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant