This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [PATCH] refreshed patch for PR 11804 and PR 9904
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Jean-Marc Saffroy <saffroy at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 7 Aug 2012 15:27:33 +0200
- Subject: [commit] [PATCH] refreshed patch for PR 11804 and PR 9904
- References: <alpine.DEB.2.00.1207291931160.5348@erda.mds> <alpine.DEB.2.00.1207291900170.5348@erda.mds> <20120731132119.GA19247@host2.jankratochvil.net>
On Tue, 31 Jul 2012 15:21:19 +0200, Jan Kratochvil wrote:
> No regressions on {x86_64,x86_64-m32,i686}-fedorarawhide-linux-gnu and with
> gdbserver. I will check it in in some time. While it would be nice for 7.5
> I think it is too late for it.
[...]
> 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
> Jean-Marc Saffroy <saffroy@gmail.com>
>
> PR 11804
> * defs.h (find_memory_region_ftype): New comment. New arg modified.
> * fbsd-nat.c (fbsd_find_memory_regions): Add the passed modified value.
> * gcore.c (gcore_create_callback): New function comment. Add modified
> parameter. Only write modified regions. Set SEC_READONLY exactly
> according to MODIFIED.
> (objfile_find_memory_regions): Ignore separate debug info files. Ass
> the passed modified value to FUNC.
> * gnu-nat.c (gnu_find_memory_regions): Add the passed modified value.
> * linux-tdep.c (linux_find_memory_regions): Try to reads smaps file
> first. New variables modified and has_anonymous. Parse the lines of
> smaps file. Add the passed MODIFIED value to FUNC.
> * procfs.c (find_memory_regions_callback): Add the passed modified
> value.
>
> gdb/testsuite/
> 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
> Jean-Marc Saffroy <saffroy@gmail.com>
>
> PR 11804
> * gdb.base/gcore-relro.exp: New file.
> * gdb.base/gcore-relro-main.c: New file.
> * gdb.base/gcore-relro-lib.c: New file.
After some discussions what is still OK for 7.5 and what should go only for
trunk checked it only for trunk. 7.6 should be released in half a year
anyway.
http://sourceware.org/ml/gdb-cvs/2012-08/msg00062.html
Jan