openbsd-ports/devel/arm-elf/gdb/patches/patch-gdb_rdi-share_host_h
sturm 9a9b1d2495 GNU cross compiler suite, configured for the arm-elf target.
from and maintained by Sebastian Trahm <basti at schleifi.com>
2007-04-02 15:35:01 +00:00

12 lines
617 B
Plaintext

$OpenBSD: patch-gdb_rdi-share_host_h,v 1.1.1.1 2007/04/02 15:35:02 sturm Exp $
--- gdb/rdi-share/host.h.orig Sun Feb 25 11:56:53 2007
+++ gdb/rdi-share/host.h Sun Feb 25 11:58:23 2007
@@ -180,7 +180,6 @@ typedef char *ArgvType;
#if (!defined(__STDC__) && !defined(__cplusplus)) || defined(COMPILING_ON_SUNOS)
/* Use bcopy rather than memmove, as memmove is not available. */
/* There does not seem to be a header for bcopy. */
-void bcopy(const char *src, char *dst, int length);
# define memmove(d,s,l) bcopy(s,d,l)
/* BSD/SUN don't have strtoul(), but then strtol() doesn't barf on */