Re: [patch] python: load *-gdb.py for shlibs during attach

Tom Tromey
2010-09-22T19:23:07Z

>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> currently if you attach to or load a core file for executable, its
Jan> -gdb.py script is loaded. But none -gdb.py for the shared
Jan> libraries.

Jan> 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * main.c: Include objfiles.h.
Jan> (captured_main): New variable objfile. Call
Jan> load_auto_scripts_for_objfile for ALL_OBJFILES.

FWIW, I agree this is the right thing to do.

Tom