mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-13 19:06:54 +08:00
* Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
${srcdir}/../include. * config/m88k/xm-delta88.h: Comment out unused defines which conflict with system headers. * printcmd.c (printf_command): Cast second arg to vprintf to PTR. Use VPRINTF macro if defined. * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>. Define TIOC{GETC,GLTC}_BROKEN. * m88k-nat.c: Uncomment include of <sys/ptrace.h>. * main.c: Rename initialize_{main,cmd_lists,history} to init_* to make things easier on munch (apparently this matters on the delta88 with svr3).
This commit is contained in:
@ -1815,6 +1815,7 @@ printf_command (arg, from_tty)
|
||||
/* There is not a standard way to make a va_list, so we need
|
||||
to do various things for different systems. */
|
||||
#if defined (__INT_VARARGS_H)
|
||||
/* This is defined by an 88k using gcc1. Do other machines use it? */
|
||||
{
|
||||
va_list list;
|
||||
|
||||
@ -1824,7 +1825,11 @@ printf_command (arg, from_tty)
|
||||
vprintf (string, list);
|
||||
}
|
||||
#else /* No __INT_VARARGS_H. */
|
||||
vprintf (string, arg_bytes);
|
||||
#ifdef VPRINTF
|
||||
VPRINTF (string, arg_bytes);
|
||||
#else /* No VPRINTF. */
|
||||
vprintf (string, (PTR) arg_bytes);
|
||||
#endif /* No VPRINTF. */
|
||||
#endif /* No __INT_VARARGS_H. */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user