Article View: gnu.gdb.bug
Article #565Re: Is gdb 4.7 slow for everybody?.
From: Gordon Joly
Date: Tue, 15 Dec 1992 14:57
Date: Tue, 15 Dec 1992 14:57
66 lines
2890 bytes
2890 bytes
Can I add to the list (on SUN4, gcc 2.3.x and SunOS 4.1.1) the bug in
4.7 (not in 4.6 or previous) that "attach" fails?
porridge:gjoly/build/iedit/SUN4[10] ps 4268
PID TT STAT TIME COMMAND
4268 p5 R 0:01 ./iedit aaa
porridge:gjoly/build/iedit/SUN4[11]
Current directory is /cs/research/coside/users/croissant/gjoly/build/iedit/SUN4/
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.7, Copyright 1992 Free Software Foundation, Inc...
(gdb) attach
Argument required (process-id to attach).
(gdb) attach 4268
Can't attach to a process on this machine.
(gdb)
------- Forwarded Message
>From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott)
Newsgroups: gnu.gcc.help
Subject: Is gdb 4.7 slow for everybody?
Message-ID: <9212111653.AA02788@foxtrot.ccmrc.ucsb.edu>
Date: 11 Dec 92 16:53:30 GMT
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Organization: Gnus Not Usenet
Lines: 26
I tried posting this to gnu.g++.bugs, but I guess the moderator did not see fit to pass it
through:
I am running gdb 4.7 on a Sun 4/330, compiled via gcc 2.2.2 with -O2 and -g specified.
I am using it to debug c++ programs compiled with gcc/g++ 2.2.2 with the -g option.
This new version is driving me crazy! I timed it today, and to do a step, stepi, or next
command takes 22 seconds! Are other people finding this to be the case as well, or is
something wrong?
Also, gdb 4.7 dumps core when I ask it to print the return value of many of my
member functions. I have not yet been able to duplicate this in a small bit of code (my
program is > 10,000 lines).
I am most concerned about how slow it is--I cannot afford to wait 20 minutes to step
through a single subroutine"!
Any tips, advice, ideas, would be very welcome.
Thanks.
- ---
Douglas Scott (805)893-8352
Center for Computer Music Research and Composition
University of California, Santa Barbara
Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
------- End of Forwarded Message
____
Gordon Joly Phone +44 71 387 7050 ext 3703 FAX +44 71 387 1397
Internet: G.Joly@cs.ucl.ac.uk UUCP: ...!{uunet,uknet}!ucl-cs!G.Joly
Computer Science, University College London, Gower Street, LONDON WC1E 6BT
Technical Details
Message-ID:
<9212160251.AA19378@raisin-nut>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cs.ucl.ac.uk!G.JolyShow Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cs.ucl.ac.uk!G.Joly From: G.Joly@cs.ucl.ac.uk (Gordon Joly) Subject: Re: Is gdb 4.7 slow for everybody?. Message-ID: <9212160251.AA19378@raisin-nut> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 15 Dec 1992 14:57:26 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 67