diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-18 02:32:27 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-18 02:32:27 +0000 |
commit | fc61e9eeec88f29c61c9bf41e55c415aaf562251 (patch) | |
tree | fcad9d18becc89b1cd56daadc563ac15057987fd /gdb/printcmd.c | |
parent | 1d2bb445898a2511db544b7ea6765051f51522c8 (diff) | |
download | gdb-fc61e9eeec88f29c61c9bf41e55c415aaf562251.zip gdb-fc61e9eeec88f29c61c9bf41e55c415aaf562251.tar.gz gdb-fc61e9eeec88f29c61c9bf41e55c415aaf562251.tar.bz2 |
* 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).
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index d40a2f8..54b5d94 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -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. */ } |