This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc && gdb
- From: Ben Elliston <bje at wasabisystems dot com>
- To: gcc at gcc dot gnu dot org
- Date: 05 May 2003 15:01:09 +1000
- Subject: Re: gcc && gdb
- References: <20030414234647.A4974@mdssirds.comp.pge.com>
Edward Peschko <esp5@mdssirds.comp.pge.com> writes:
> I was wondering if gcc had hooks in it to work with gdb, ie: when
> you are working in pelr you can say: $DB::single = 1; at any point
> in your perl code, and this will constitute an automatic breakpoint
> if combined with 'perl -d'. (there are quite a few other things, too
> that you can do to instrument your code, this stands out the most)
> Is there anything similar in gcc/gdb?
While not exactly what you're describing, you might find GNU Nana to
be helpful to instrument your code to interact with GDB.
Ben