Article View: gnu.gdb.bug
Article #44problem with "where" command in gdb v3.1.2
From: asgard!amante
Date: Fri, 16 Jun 1989 17:10
Date: Fri, 16 Jun 1989 17:10
34 lines
1889 bytes
1889 bytes
We recently moved to SunOS 4.0 on a Sun4/260. Using gdb v3.1.2 to debug a g++-cross-compiler for a custom processor, the debugger seems to "erroneously" assume that there is only one frame. It does not report the outer frames which led to the kill(). (A script is shown below.) The cross-compiler (the program being debugged) was compiled with gcc v1.35. We checked it and found that it was statically linked as required by gdb. "file" says that: cc1plus: sparc demand paged executable not stripped I remember a posting for a similar problem before, but unfortunately I discarded it. So any help on this problem will be greatly appreciated. Thanks in advance... Amante ======================================================================== [shogun:/home/shogun/ra/amante/test]>!gd gdb ../g++-VEC3/cc1plus core -d ../g++-VEC3 GDB 3.1.2, Copyright (C) 1988 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 /home/shogun/ra/amante/test/../g++-VEC3/cc1plus...done. Core file is from "cc1plus". Program terminated with signal 6, Abort. Type "help" for a list of commands. (gdb) where #0 0x10e5a0 in kill () (gdb) up Initial frame selected; you cannot go up. (gdb) do Bottom (i.e., innermost) frame selected; you cannot go down. (gdb)
Technical Details
Message-ID:
<8906161847.AA06974@hub.ucsb.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!HUB.UCSB.EDU!asgard!amanteShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!HUB.UCSB.EDU!asgard!amante From: asgard!amante@HUB.UCSB.EDU Newsgroups: gnu.gdb.bug Subject: problem with "where" command in gdb v3.1.2 Message-ID: <8906161847.AA06974@hub.ucsb.edu> Date: 16 Jun 89 17:10:06 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 34