aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-03 03:03:03 +0000
committerChristopher Faylor <me@cgf.cx>2000-06-03 03:03:03 +0000
commitd51d968a8067b6875b230b7c3e9bb88b5cbd1aaa (patch)
tree378e89ee8bfc0c417b261cf9fbba56762a6d9bab
parent8b7d491c259a2b2a510ad516b50fa1bceb4a14bd (diff)
downloadnewlib-d51d968a8067b6875b230b7c3e9bb88b5cbd1aaa.zip
newlib-d51d968a8067b6875b230b7c3e9bb88b5cbd1aaa.tar.gz
newlib-d51d968a8067b6875b230b7c3e9bb88b5cbd1aaa.tar.bz2
* libc/include/string.h: Work around problem with strsignal and gdb.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/string.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index b7499e7..25c23ba 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * libc/include/string.h: Work around problem with strsignal and gdb.
+
Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
* libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index 557800e..7d5bd45 100644
--- a/newlib/libc/include/string.h
+++ b/newlib/libc/include/string.h
@@ -67,7 +67,9 @@ char *_EXFUN(strsep,(char **, const char *));
char *_EXFUN(strlwr,(char *));
char *_EXFUN(strupr,(char *));
#ifdef __CYGWIN__
+#ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
const char *_EXFUN(strsignal, (int __signo));
+#endif
int _EXFUN(strtosigno, (const char *__name));
#endif
void _EXFUN(swab,(const void *, void *, ssize_t));