This is the mail archive of the
mailing list for the Insight project.
- From: Keith Seitz <keiths at redhat dot com>
- To: geneSmith <gene dot smith at sea dot siemens dot com>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: Wed, 13 Oct 2004 12:40:02 -0700
- Subject: Re: Restarting
- References: <firstname.lastname@example.org>
On Wed, 2004-10-13 at 12:27, geneSmith wrote:
> When I start gdb, I connect to the target and download to it as specifed
> in .gdbinit and then I can debug. Is there a way to restart this without
> exiting gdb, ie, force a re-run of .gdbinit and optionally preserve
> previously set BPs?
I hate to say this, but I cringe everytime I hear about someone
connecting to a target in .gdbinit. It can really screw up insight.
Nonetheless, there are options:
1) Put all your target commands in .gdbinit into a user-defined command.
Then just run that command (via the console window).
2) Use target settings dialog. Click Run button.