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]

[commit] [patch#4 3/8] auto-load: reshuffle code


On Thu, 05 Apr 2012 23:07:38 +0200, Jan Kratochvil wrote:
> gdb/
> 2012-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	auto-load: Move files.
> 	* Makefile.in (SFILES): Add auto-load.c.
> 	(HFILES_NO_SRCDIR): Add auto-load.h.
> 	(COMMON_OBS): Add auto-load.o.
> 	(distclean): Change .gdbinit for gdb-gdb.gdb.
> 	* auto-load.c: New file, with parts from python/py-auto-load.c.
> 	* auto-load.h: New file, with parts from python/python.h.
> 	* configure: Regenerate.
> 	* configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb.
> 	* gdb-gdb.gdb.in: New file, renamed from gdbinit.in.
> 	* gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in.
> 	* main.c: Include auto-load.h.
> 	* python/py-auto-load.c: Move include filenames.h, gdb_regex.h,
> 	command.h, observer.h and progspace.h to auto-load.c.  Add include
> 	auto-load.h.
> 	(gdbpy_global_auto_load, struct auto_load_pspace_info)
> 	(struct loaded_script, auto_load_pspace_data)
> 	(auto_load_pspace_data_cleanup, get_auto_load_pspace_data)
> 	(hash_loaded_script_entry, eq_loaded_script_entry)
> 	(init_loaded_scripts_info, get_auto_load_pspace_data_for_loading)
> 	(maybe_add_script): Move to auto-load.c.
> 	(source_section_scripts): Change maybe_add_script parameters passing,
> 	use script_not_found_warning_print.
> 	(clear_section_scripts, auto_load_objfile_script)
> 	(auto_load_new_objfile, loaded_script_ptr)
> 	(DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script)
> 	(sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c.
> 	(gdbpy_initialize_auto_load): Move auto_load_pspace_data,
> 	auto_load_new_objfile and info_auto_load_scripts initizations to
> 	auto-load.c.
> 	* python/python.h (gdbpy_global_auto_load): Move to auto-load.h.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2012-04/msg00112.html


Thanks,
Jan


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