src/gdb ChangeLog auxv.c

luisgpm@sourceware.org luisgpm@sourceware.org
Tue Nov 15 13:17:00 GMT 2011


CVSROOT:	/cvs/src
Module name:	src
Changes by:	luisgpm@sourceware.org	2011-11-15 13:17:06

Modified files:
	gdb            : ChangeLog auxv.c 

Log message:
	2011-11-15  Pedro Alves  <pedro@codesourcery.com>
	Luis Machado  <lgustavo@codesourcery.com>
	
	* auxv.c: Include observer.h.
	(auxv_inferior_data_cleanup): New.
	(invalidate_auxv_cache_inf): New.
	(invalidate_auxv_cache): New.
	(get_auxv_inferior_data): New.
	(auxv_inferior_data): New static global.
	(auxv_info): New structure.
	(target_auxv_search): Use get_auxv_inferior_data instead of
	target_read_alloc and don't free cached buffers.
	(fprint_target_auxv): Likewise
	(_initialize_auxv): Register per-inferior auxv cache and register
	observers to invalidate auxv cache when needed.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13517&r2=1.13518
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/auxv.c.diff?cvsroot=src&r1=1.32&r2=1.33



More information about the Gdb-cvs mailing list