This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: question about -file-exec-and-symbols gdbmi command


On Wed, 18 Apr 2007 21:58:49 +1200
Nick Roberts <nickrob@snap.net.nz> wrote:

[...]

> -file-exec-and-symbols is really just the `file' command:
> 
> In mi-cmds.c:
> 
>   { "file-exec-and-symbols", { "file", 1 }, NULL, NULL },
> 
> so it's not restricted to MI.
> 
> I don't really use either but maybe it would be inconvenient to have
> all the breakpoints cleared, if you wanted to switch to another
> version of the same program, say.  It's easier to delete then all
> manually, just with `delete' than it is to add them back again.
> 
> Perhaps it could be a GDB option.

Okay thank you for the hints, Nick.

I maybe I could try a patch that introduces a new command that clears
all the breakpoints when you load a new file ?

Cheers,


-- 
Dodji Seketeli
http://www.seketeli.org/dodji


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