diff options
author | Pedro Alves <palves@redhat.com> | 2010-08-26 16:47:05 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-08-26 16:47:05 +0000 |
commit | 331e2f5f988e91f174b9c977879a3aa856e83fc4 (patch) | |
tree | d1fb6b5d8f6248488c278c80a2c786c7882a5fb8 /gdb | |
parent | e581f2b4a7a47be66f64098c6bb8b2aaf7f34fe2 (diff) | |
download | gdb-331e2f5f988e91f174b9c977879a3aa856e83fc4.zip gdb-331e2f5f988e91f174b9c977879a3aa856e83fc4.tar.gz gdb-331e2f5f988e91f174b9c977879a3aa856e83fc4.tar.bz2 |
* mem-break.c [HAVE_MALLOC_H]: Include malloc.h.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/mem-break.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 897bb2d..ddc6e98 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,9 @@ 2010-08-26 Pedro Alves <pedro@codesourcery.com> + * mem-break.c [HAVE_MALLOC_H]: Include malloc.h. + +2010-08-26 Pedro Alves <pedro@codesourcery.com> + * gdbreplay.c (remote_error): New. (gdbchar): New. (expect): Use gdbchar. Check for error reading from GDB. diff --git a/gdb/gdbserver/mem-break.c b/gdb/gdbserver/mem-break.c index 1b08415..687414b 100644 --- a/gdb/gdbserver/mem-break.c +++ b/gdb/gdbserver/mem-break.c @@ -20,6 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "server.h" +#if HAVE_MALLOC_H +#include <malloc.h> +#endif const unsigned char *breakpoint_data; int breakpoint_len; |