Browse Source

* xm-i386mach.h: add decl for errno.

gdb-4_18-branch
Stu Grossman 35 years ago
parent
commit
ff1e35cb62
  1. 2
      gdb/ChangeLog
  2. 3
      gdb/xm-i386mach.h

2
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).

3
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;

Loading…
Cancel
Save