if you use the gcc/g++ flag for debugging (-g) you can then use gdb to
look at the machine/assembly code.

On Jun 17, 4:31 pm, Blues Renegade <[email protected]> wrote:
> When I did C programming (a long time ago), the most useful tool for
> debugging a really tough coding problem that had me stumped, was the
> ability to see my code as machine language output... then I was able to
> see the bug and fix it.
>
> I haven't used gcc/gcc+, but aren't there compiler switches to get the
> assembly/machine code output?
>
> John
>
> Jeremy Leonard wrote:
> > I am in the process of re-learning C++.  I know how to compile my
> > programs from the command line using gcc/g++.  I am also wanting to
> > learn how to use gdb from the command line.  Are there any other tools
> > available that would be useful to learn?  Right now I am primarily
> > concerned with tools that I can use from the command line.  Thanks in
> > advance.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to