projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a19cc98
)
* xm-i386mach.h: add decl for errno.
author
Stu Grossman
<grossman@cygnus>
Wed, 8 Apr 1992 01:14:17 +0000
(
01:14
+0000)
committer
Stu Grossman
<grossman@cygnus>
Wed, 8 Apr 1992 01:14:17 +0000
(
01:14
+0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/xm-i386mach.h
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index a9ccc1855d267ba6a30e23d8b28a386ac05b1052..8c44063e82fe36ccc5217b291f5fe766f26ea9d5 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,5
+1,7
@@
Tue Apr 7 16:34:07 1992 Per Bothner (bothner@cygnus.com)
+ * xm-i386mach.h: add decl for errno.
+
* breakpoint.c (breakpoint_1): Add (int) casts for enums
used in array index context (otherwise, some compilers barf).
diff --git
a/gdb/xm-i386mach.h
b/gdb/xm-i386mach.h
index 244361bd00d2040ff55d79c81c4240aceed4b3e3..c71a103b211828515d7dc7d654b1f8dec5655c0c 100644
(file)
--- a/
gdb/xm-i386mach.h
+++ b/
gdb/xm-i386mach.h
@@
-42,3
+42,6
@@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define FETCH_INFERIOR_REGISTERS
#define PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
+
+/* <errno.h> only defines this if __STDC__!!! */
+extern int errno;