This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Restarting


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.

Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]