This is the mail archive of the
mailing list for the Insight project.
Keith Seitz wrote, On 10/13/2004 3:40 PM:
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.
Have not observed any obvious problems. What should I look out for?
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.
When looking up "user-defined" command in manual saw "source" command.
This seems to do exactly what I want, i.e., I type
and it all starts over and preserves the old breakpoints.
Thanks for the help.
Lit up like Levy's