This is the mail archive of the gdb-patches@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: [patch] python: load *-gdb.py for shlibs during attach


>>>>> "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


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