diff --git a/gdb/config/m88k/xm-delta88.h b/gdb/config/m88k/xm-delta88.h index eb8e20b579..685d596c3f 100644 --- a/gdb/config/m88k/xm-delta88.h +++ b/gdb/config/m88k/xm-delta88.h @@ -24,14 +24,22 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define USG 1 #endif +#define TIOCGETC_BROKEN 1 +#define TIOCGLTC_BROKEN 1 + #include #include +/* Required by . */ +#include + #define HAVE_TERMIO /*#define USIZE 2048*/ -#define NBPG NBPC -#define UPAGES USIZE +/*#define NBPG NBPC*/ +/* Might be defined in . I suspect this define was a relic + from before when BFD did core files. */ +/* #define UPAGES USIZE */ /* This is the amount to subtract from u.u_ar0 to get the offset in the core file of the register values. */ @@ -42,3 +50,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define KERNEL_U_ADDR 0 +/* Like vprintf, but takes a a pointer to the args, laid out in order, + rather than a va_list. */ +/* Does this really work, or is it just enough to get this to compile? */ +#define VPRINTF(string, args) \ + { \ + __gnuc_va_list list; \ + list.__va_arg = 0; \ + list.__va_stk = (int *) args; \ + list.__va_reg = (int *) args; \ + vprintf (string, list); \ + }