This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog auxv.c
- From: luisgpm at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 15 Nov 2011 13:17:06 -0000
- Subject: src/gdb ChangeLog auxv.c
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