Re: How to specify a new but non-default path of gdb in gcc?
- From: "LaBird" <wlcheung1975@xxxxxxxxx>
- Date: Tue, 27 Mar 2007 20:47:39 +0800
Hi again,
An additional question: Is the debug information of "gcc -g" provided
by gcc, or gcc needs to link to some existing gdb libraries for generating
such debug info? (If the former case is the answer, I only need to
compile the programs the same way, but invoke the new version of gdb
during debugging.)
Best Regards,
LaBird (Benny).
[Email: Remove all numerals to get the correct address.]
"LaBird" <wlcheung1975@xxxxxxxxx> wrote:
Hi,
I have installed a new gdb (6.6) in my own (normal user) account,
under /home/username/gdb/. The system already has one older
version of gdb, but I'd like to try out the new one without removing
the old one. The installation is successful, but instead of "gcc -g ...",
what should I put in the command line when compiling a C program,
so that the debug information of the new gdb can be added instead
of the default old version?
Thanks!
Best Regards,
LaBird (Benny).
[Email: Remove all numerals to get the correct address.]
.
- References:
- Prev by Date: How to specify a new but non-default path of gdb in gcc?
- Next by Date: Re: How to specify a new but non-default path of gdb in gcc?
- Previous by thread: How to specify a new but non-default path of gdb in gcc?
- Next by thread: Re: How to specify a new but non-default path of gdb in gcc?
- Index(es):
Relevant Pages
|