This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc question
- To: gcc at gcc dot gnu dot org
- Subject: gcc question
- From: Sang-Kil Lee <sklee at synopsys dot COM>
- Date: Wed, 02 Feb 2000 16:24:26 +0900
- Organization: Synopsys Korea
- Reply-To: sklee at synopsys dot COM
Hello,
I have a question.
I wrote a simple C program and then compiled it using gcc with an option
'-g' got a binary code.
I ran it and it finished successfully but didn't invoke a debugger(ex.
gdb).
Of course, I know that I can invoke the binary code using gdb(ex.
unix_prompt> gdb <binary_code>).
But what I want is that the debugger is invoked as soon as I run the
binary code.
Is it possible to attach the debugger to the binary code? If so, Please
let me know a method.
Regards,
Sang-Kil