This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] Fix PR build/13372
- From: Ben Golding <ben_golding at yahoo dot co dot uk>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 2 Nov 2011 17:15:17 +0000 (GMT)
- Subject: [patch] Fix PR build/13372
- Reply-to: Ben Golding <ben_golding at yahoo dot co dot uk>
(Apologies I'm not familiar with the usual process for submitting patches...)
Bug:?http://sourceware.org/bugzilla/show_bug.cgi?id=13372
Patch generated with diff -cp:
*** events.c~ ? Mon Feb 14 06:14:27 2011
--- events.c ? ?Wed Nov ?2 18:13:54 2011
***************
*** 26,31 ****
--- 26,32 ----
? #include "events.h"
??
? #include <signal.h>
+ #include <stdlib.h>
??
? #if !defined (SIM_EVENTS_POLL_RATE)
? #define SIM_EVENTS_POLL_RATE 0x1000
Changelog entry should read something like:
sim/ppc/
* events.c: add #include <stdlib.h> for free(). Fix PR build/13372.