This is the mail archive of the gdb-cvs@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]

src/gdb ChangeLog Makefile.in breakpoint.c con ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2013-05-06 14:15:50

Modified files:
	gdb            : ChangeLog Makefile.in breakpoint.c 
	                 configure.tgt corelow.c exec.c infcmd.c 
	                 infrun.c rs6000-aix-tdep.c rs6000-nat.c 
	                 rs6000-tdep.h solib-dsbt.c solib-frv.c solib.c 
	                 stack.c target.h xcoffread.c 
	gdb/config/powerpc: aix.mh 
	gdb/doc        : ChangeLog gdbint.texinfo 
Added files:
	gdb            : solib-aix.c solib-aix.h 
	gdb/features   : library-list-aix.dtd 
Removed files:
	gdb            : xcoffsolib.c xcoffsolib.h 
	gdb/config/rs6000: nm-rs6000.h 

Log message:
	Reimplement shared library support on ppc-aix...
	
	... using the target_so_ops framework.
	
	gdb/ChangeLog:
	
	* target.h (TARGET_OBJECT_AIX_LIBRARIES): New target_object enum.
	* features/library-list-aix.dtd: New file.
	* solib-aix.h, solib-aix.c: New file.
	* rs6000-aix-tdep.c: #include "solib.h" and "solib-aix.h".
	(rs6000_find_toc_address_hook): Delete.
	(rs6000_push_dummy_call): Rewrite code setting the TOC value.
	(rs6000_aix_init_osabi): Register solib_aix_so_ops.
	* rs6000-nat.c: Remove "xcoffsolib.h" include.  Include
	"xml-utils.h".
	(map_vmap, vmap_exec, vmap_ldinfo, add_vmap, objfile_symbol_add)
	(vmap_symtab, fixup_breakpoints): Delete.
	(rs6000_xfer_shared_libraries): New function.
	(rs6000_xfer_partial): Add TARGET_OBJECT_AIX_LIBRARIES handling.
	(vmap_secs, bss_data_overlap, vmap_add_symbols): Delete.
	(xcoff_relocate_symtab, xcoff_relocate_core): Delete.
	(rs6000_ptrace_ldinfo, rs6000_core_ldinfo)
	(rs6000_xfer_shared_library): New function.
	(find_toc_address): Delete.
	(_initialize_rs6000_nat): Do not set rs6000_find_toc_address_hook.
	* rs6000-tdep.h (rs6000_find_toc_address_hook): Remove.
	* xcoffread.c (record_minimal_symbol): Reloate symbol address
	before creating minimal symbol.  Adjust function description
	accordingly.
	(scan_xcoff_symtab): Replace call to
	prim_record_minimal_symbol_and_info by call to
	record_minimal_symbol.
	(xcoff_symfile_offsets): Reimplement mostly as a wrapper
	around default_symfile_offsets.
	* configure.tgt: Add solib-aix.o to gdb_target_obs for
	powerpc-aix targets.
	* config/rs6000/nm-rs6000.h: Delete.
	* config/powerpc/aix.mh (NAT_FILE): Delete.
	(NATDEPFILES): Remove xcoffsolib.o.
	* Makefile.in (XMLFILES): Add library-list-aix.dtd.
	(ALL_TARGET_OBS): Add solib-aix.o.
	(HFILES_NO_SRCDIR): Remove xcoffsolib.h and
	config/rs6000/nm-rs6000.h.  Add solib-aix.h.
	(ALLDEPFILES): Add solib-aix.c.  Remove xcoffsolib.c.
	* xcoffsolib.h, xcoffsolib.c: Delete.
	
	* solib.c (reload_shared_libraries): Remove reference to
	SOLIB_CREATE_INFERIOR_HOOK.
	* breakpoint.c (handle_solib_event): Remove reference to SOLIB_ADD.
	(disable_breakpoints_in_shlibs): Remove reference to PC_SOLIB.
	(momentary_bkpt_re_set): Replace SOLIB_ADD by solib_add in
	comment.
	* corelow.c (deprecated_core_resize_section_table): Delete.
	* exec.c: Remove include of xcoffsolib.h".
	(map_vmap, vmap): Delete.
	(exec_close_1): Remove references to vmap.
	(exec_file_attach): Remove vmap handling code, and reference
	to DEPRECATED_IBM6000_TARGET.
	(bfdsec_to_vmap): Delete.
	(exec_files_info): Remove block of code handling VMAP.
	* infcmd.c (post_create_inferior): Remove reference to
	SOLIB_CREATE_INFERIOR_HOOK and SOLIB_ADD.
	* infrun.c (follow_exec): Remove reference to
	SOLIB_CREATE_INFERIOR_HOOK.
	* stack.c (print_frame): Remove reference to PC_SOLIB.
	* solib-dsbt.c (dsbt_current_sos): Adjust comment.
	(dsbt_relocate_main_executable): Likewise.
	* solib-frv.c (frv_current_sos): Likewise.
	
	gdb/doc/ChangeLog:
	
	* gdbint.texinfo (Algorithms): Remove entries documenting
	DEPRECATED_IBM6000_TARGET, SOLIB_ADD, and
	SOLIB_CREATE_INFERIOR_HOOK.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib-aix.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib-aix.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15509&r2=1.15510
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&r1=1.1251&r2=1.1252
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.759&r2=1.760
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/configure.tgt.diff?cvsroot=src&r1=1.274&r2=1.275
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/corelow.c.diff?cvsroot=src&r1=1.130&r2=1.131
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/exec.c.diff?cvsroot=src&r1=1.124&r2=1.125
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infcmd.c.diff?cvsroot=src&r1=1.329&r2=1.330
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.578&r2=1.579
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/rs6000-aix-tdep.c.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/rs6000-nat.c.diff?cvsroot=src&r1=1.122&r2=1.123
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/rs6000-tdep.h.diff?cvsroot=src&r1=1.16&r2=1.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib-dsbt.c.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib-frv.c.diff?cvsroot=src&r1=1.51&r2=1.52
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib.c.diff?cvsroot=src&r1=1.171&r2=1.172
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/stack.c.diff?cvsroot=src&r1=1.269&r2=1.270
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.h.diff?cvsroot=src&r1=1.257&r2=1.258
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/xcoffread.c.diff?cvsroot=src&r1=1.112&r2=1.113
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/xcoffsolib.c.diff?cvsroot=src&r1=1.32&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/xcoffsolib.h.diff?cvsroot=src&r1=1.15&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/config/powerpc/aix.mh.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/config/rs6000/nm-rs6000.h.diff?cvsroot=src&r1=1.24&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1452&r2=1.1453
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdbint.texinfo.diff?cvsroot=src&r1=1.348&r2=1.349
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/features/library-list-aix.dtd.diff?cvsroot=src&r1=NONE&r2=1.1


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