Article View: gnu.gcc.help
Article #52498Problem with gcc2.1, gdb4.5, dbx
From: John Ellis
Date: Thu, 09 Jul 1992 10:38
Date: Thu, 09 Jul 1992 10:38
25 lines
1506 bytes
1506 bytes
Dear all, I have a wee problem with debugging code produced by gcc 2.1. Firstly, people at my site would like to be able to use dbx as the debugger, but it groks at gcc's output. I tried turning the gdb extensions off by defining DEFAULT_GDB_EXTENSIONS to 0 in one of the config files, but this made no difference. (the compiler does not recognise the -gdbx option, for some reason). If anyone knows how to get it to play ball with dbx, I very much like to know. Secondly, I have a few problems with gdb (version 4.5). It seems to lose the stack trace, so that it always thinks you're in the outermost frame. Thus the up, down and finish commands can't be used. I think the problem may lie with gcc as using gcc-1.40 this problem doesn't occur. This is all happening on a sun 4/330, sunos 4.1.1, with the sun assembler and linker. Thanks for your attention, John Ellis
Technical Details
Message-ID:
<JRE.92Jul9113807@suprenum.supr.scm.liv.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!lucsand!anduin!jreShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9aaec67b0f653d85,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-07-09 11:15:46 PST Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!lucsand!anduin!jre From: jre@supr.scm.liv.ac.uk (John Ellis) Newsgroups: gnu.gcc.help Subject: Problem with gcc2.1, gdb4.5, dbx Message-ID: <JRE.92Jul9113807@suprenum.supr.scm.liv.ac.uk> Date: 9 Jul 92 10:38:07 GMT Distribution: gnu Organization: Centre for Mathematical Software Research, Univ. Liverpool, UK Lines: 25 Nntp-Posting-Host: supr.scm.liv.ac.uk Nntp-Posting-User: jre