Article View: gnu.gcc.help
Article #52884GCC 2.1 and UPS
From: Skip Koppenhaver
Date: Mon, 27 Apr 1992 20:37
Date: Mon, 27 Apr 1992 20:37
29 lines
2003 bytes
2003 bytes
I'm having trouble getting gcc 2.1 and the ups 2.31 X11 debugger to
work with each other. We had been using gcc 1.40 on a sun4 (SunOs
4.1.1) and ups was working just fine. However, when I compile our
software with gcc 2.1, ups is having trouble single stepping through
return statements. What happens is I do a STEP to step into a function
but when I get to the end of the function ups acts like I hit
CONTINUE. It doesn't return to the calling function.
I have tried using some of the various options to gcc which control how
return statements are generated, namely -mno-epilogue and
-fpcc-struct-return, with no success. I have tried it with and without
-O.
Does anyone have patches to ups to make it handle gcc 2.1 generated
code? Or alternatively, can someone tell me the correct options to gcc
to make it generate return statements which ups can understand? We
don't want to move to gcc 2.1 until we get this resolved because ups is
such a great debugger. Any help would be appreciated. Thanks in
advance.
PS. Don't tell me to use mxgdb, xxgdb, or xdbx because they don't cut
the mustard compared to ups!
--
Skip Koppenhaver
skip@eco.twg.com
--
Skip Koppenhaver
skip@eco.twg.com
Technical Details
Message-ID:
<1992Apr27.203739.7255@eco.twg.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!eco.twg.com!skipShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1f9460b1d97c59ce,start X-Google-Attributes: gid11318c,public X-Google-Thread: f8863,1f9460b1d97c59ce,start X-Google-Attributes: gidf8863,public X-Google-Thread: 1153e1,1f9460b1d97c59ce,start X-Google-Attributes: gid1153e1,public X-Google-ArrivalTime: 1992-04-27 13:37:39 PST Newsgroups: gnu.gcc.help,comp.sources.wanted,alt.sources.wanted Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!eco.twg.com!skip From: skip@eco.twg.com (Skip Koppenhaver) Subject: GCC 2.1 and UPS Message-ID: <1992Apr27.203739.7255@eco.twg.com> Keywords: gcc, ups Sender: skip@eco.twg.com (Skip Koppenhaver) Nntp-Posting-Host: eco.twg.com Organization: The Wollongong Group (East Coast Operations) Date: Mon, 27 Apr 92 20:37:39 GMT Lines: 29