This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch][python] Add breakpoint support.
>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
Phil> There is a save_breakpoints.py script in the archer repository
Phil> already, so a lot of the work is done. I have a patch to modify that
Phil> to save watchpoints too. I've not ported it here today as I purely
Phil> want to concentrate on the API aspect of porting. But there is really
Phil> no reason why it can't go in immediately as part of another porting
Phil> effort. I think it would need some make/configure hackery to install,
Phil> which is definitely my weakest area.
I can help with that if you want.
I think the more difficult problem is deciding how users should activate
commands written in Python. Right now for Archer we have this "require"
thing, but that seems like kind of a hack. OTOH, loading all the
commands at startup also seems weird. It will make startup slower, for
one thing. Maybe we could implement some kind of auto-loading?
Tom