[PATCH] refreshed patch for PR 11804 and PR 9904

Jean-Marc Saffroy saffroy@gmail.com
Sun Jul 29 17:35:00 GMT 2012


Of course I forgot to add a ChangeLog entry, so here it is:

2012-07-29  Jean-Marc Saffroy  <saffroy@gmail.com>

	PR 11804
	PR 9904

	* defs.h (find_memory_region_ftype): New arg 'modified' for gcore.
	All callers changed.
	* fbsd-nat.c (fbsd_find_memory_regions): Ditto.
	* gnu-nat.c (gnu_find_memory_regions): Ditto.
	* procfs.c (find_memory_regions_callback): Ditto.
	* gcore.c (gcore_create_callback): Only write modified regions.
	(objfile_find_memory_regions): Ignore debug files.
	* linux-tdep.c (linux_find_memory_regions): Detect modified 
regions.
	* testsuite/gdb.base/gcore-relro.exp: New file.
	* testsuite/gdb.base/gcore-relro-main.c: New file.
	* testsuite/gdb.base/gcore-relro-lib.c: New file.


Cheers, Jean-Marc

-- 
saffroy@gmail.com



More information about the Gdb-patches mailing list