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

[commit] fbsd: Fix compilation breakage by relro gcore (by PR 11804)


Hi,

after off-list discussion and compilation verification by Andreas I have
checked in this fix.  FreeBSD compilation has been broken since:
	[commit] [PATCH] refreshed patch for PR 11804 and PR 9904
	http://sourceware.org/ml/gdb-patches/2012-08/msg00225.html

It was due to incomplete commit from the thread:
	[patch] Code cleanup: Make function typedef for find memory region
	http://sourceware.org/ml/gdb-patches/2010-08/msg00498.html


Jan


http://sourceware.org/ml/gdb-cvs/2012-08/msg00080.html

### src/gdb/ChangeLog	2012/08/09 06:48:21	1.14571
### src/gdb/ChangeLog	2012/08/09 09:24:22	1.14572
## -1,3 +1,8 @@
+2012-08-09  Andreas Tobler  <andreast@fgznet.ch>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* fbsd-nat.h (fbsd_find_memory_regions): Use find_memory_region_ftype.
+
 2012-08-09  Yao Qi  <yao@codesourcery.com>
 
 	* cli/cli-cmds.c (enablebreaklist): Move it to breakpoint.c.
--- src/gdb/fbsd-nat.h	2012/01/04 08:17:02	1.10
+++ src/gdb/fbsd-nat.h	2012/08/09 09:24:23	1.11
@@ -29,9 +29,7 @@
    calling FUNC for each memory region.  OBFD is passed as the last
    argument to FUNC.  */
 
-extern int fbsd_find_memory_regions (int (*func) (CORE_ADDR, unsigned long,
-						  int, int, int, void *),
-				     void *obfd);
+extern int fbsd_find_memory_regions (find_memory_region_ftype func, void *obfd);
 
 /* Create appropriate note sections for a corefile, returning them in
    allocated memory.  */


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