Changes for MacGDB:
authorStan Shebs <shebs@codesourcery.com>
Fri, 13 May 1994 00:31:31 +0000 (00:31 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 13 May 1994 00:31:31 +0000 (00:31 +0000)
commita6b26c4431ede17adf8a07f61a43c01b92b8f83f
tree42579e6fdb96cb16812b39602fd3cc67b538e984
parentedfb9ffd1f5f733233b926d7121d31d6fb4dde62
Changes for MacGDB:

Thu May 12 17:04:58 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
(READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
(TSOBS): Don't compile inflow.c.
(all, install): Add MacGDB.
* main.c (main): Do Mac-specific init and command loop if a
standalone app, skip full option help message if compiling
with MPW C.
(gdb_readline): If MPW, add a newline after the (gdb) prompt.
* utils.c (_initialize_utils): If MPW, don't try to use termcap to
compute the window size.
* config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
fflush): Define as macros that expand into hacked_... versions.
(StandAlone, mac_app): Declare.
* macgdb.r (SIZE): Set the default partition to 4000K.
* mac-xdep.c (readline.h, history.h): Include.
(terminal.h): Don't include.
(mac_app): Define.
(gdb_has_a_terminal): Define Mac-specific version.
(do_keyboard_command): Simplify search for command string.
(readline): Define as gdb_readline.
Add other history/readline stubs to make main gdb link.
(hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
hacked_fputc, hacked_fflush): New functions, intercept output to
stdout and stderr, send to console window.
gdb/ChangeLog.mpw
gdb/config/m68k/xm-mpw.h
gdb/mac-xdep.c
gdb/macgdb.r
gdb/main.c
gdb/mpw-make.in
gdb/utils.c