How to debug gcc in Linux

E

ern

I'm using "gcc" in Linux. I'm kind of new to this... is there a way to
step through the code in debugger mode using this tool? Any debugging
tools for C right out of the box in Linux (RedHat)? Thanks.
 
K

Keith Thompson

ern said:
I'm using "gcc" in Linux. I'm kind of new to this... is there a way to
step through the code in debugger mode using this tool? Any debugging
tools for C right out of the box in Linux (RedHat)? Thanks.

Your question is about a particular implementation, not about the C
language, so it would have been better to ask it in gnu.gcc.help,
comp.unix.programmer, or one of the Linux groups.

Having said that:

<OFF_TOPIC>
info gdb
</OFF_TOPIC>

If you have any questions beyond that, try one of the above groups
(unless you have a question about the C language, in which case this
is the right place).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top