* Re: gdb?
@ 1996-03-01 18:00 David Mosberger-Tang
0 siblings, 0 replies; 3+ messages in thread
From: David Mosberger-Tang @ 1996-03-01 18:00 UTC (permalink / raw)
>>>>> On Fri, 01 Mar 1996 17:06:42 +0000, Nigel Metheringham <Nigel.Metheringham@theplanet.net> said:
Nigel> Is there a gdb that works OK with the red hat 2.1 release??
Nigel> Also, anyone tried xinetd? It compiles, seems to work with
Nigel> trivial test, bombs at startup if debug mode is on... (thats
Nigel> why I want gdb!).
I believe there is an RPM for gdb 4.15. For some reason it got left
off the final CD-ROM, but it should work. Otherwise, there are
patches on ftp.azstarnet.com.
The things you want to be careful about:
- link with -lg since libc 4.6.27 has no debugging symbols;
gdb will crash if you try to step or break in a function
without debugging symbols (this will be fixed, eventually...)
- don't use -O2 when debugging; due to instruction scheduling
and register allocation, debugging such a binary is a little
tricky (it works, but gdb will jump around in the sources
quite widely and trying to print a local variable will often
result in "no such variable" messages); using gcc options
"-g -O" works well, though.
If you notice any other problems, let me know and I'll add it to my
TODO list.
Enjoy,
--david
^ permalink raw reply [flat|nested] 3+ messages in thread
* gdb?
@ 1996-03-01 17:06 Nigel Metheringham
1996-03-01 17:49 ` gdb? Erik Troan
0 siblings, 1 reply; 3+ messages in thread
From: Nigel Metheringham @ 1996-03-01 17:06 UTC (permalink / raw)
Is there a gdb that works OK with the red hat 2.1 release??
Also, anyone tried xinetd?
It compiles, seems to work with trivial test, bombs at startup if
debug mode is on... (thats why I want gdb!).
Nigel.
--
[ Nigel.Metheringham@theplanet.net - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656 ]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb?
1996-03-01 17:06 gdb? Nigel Metheringham
@ 1996-03-01 17:49 ` Erik Troan
0 siblings, 0 replies; 3+ messages in thread
From: Erik Troan @ 1996-03-01 17:49 UTC (permalink / raw)
On Fri, 1 Mar 1996, Nigel Metheringham wrote:
> Is there a gdb that works OK with the red hat 2.1 release??
There's a binary on azstarnet that should work fine. Building an RPM of
gdb is on my to do list for next week.
Erik
-------------------------------------------------------------------------------
Always hoped that I'd be an apostle. Knew that I would make it if I tried.
Then when we retire we can write the gospels so they'll all talk about
us when we die. - "The Last Supper" from Jesus Christ Superstar
| Erik Troan = http://sunsite.unc.edu/ewt/ = ewt@sunsite.unc.edu |
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-03-01 18:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-01 18:00 gdb? David Mosberger-Tang
-- strict thread matches above, loose matches on Subject: below --
1996-03-01 17:06 gdb? Nigel Metheringham
1996-03-01 17:49 ` gdb? Erik Troan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox