diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-05-13 00:31:31 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-05-13 00:31:31 +0000 |
commit | a6b26c4431ede17adf8a07f61a43c01b92b8f83f (patch) | |
tree | 42579e6fdb96cb16812b39602fd3cc67b538e984 /gdb/mpw-make.in | |
parent | edfb9ffd1f5f733233b926d7121d31d6fb4dde62 (diff) | |
download | gdb-a6b26c4431ede17adf8a07f61a43c01b92b8f83f.zip gdb-a6b26c4431ede17adf8a07f61a43c01b92b8f83f.tar.gz gdb-a6b26c4431ede17adf8a07f61a43c01b92b8f83f.tar.bz2 |
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.
Diffstat (limited to 'gdb/mpw-make.in')
-rw-r--r-- | gdb/mpw-make.in | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gdb/mpw-make.in b/gdb/mpw-make.in index ebcfb3e..6d47665 100644 --- a/gdb/mpw-make.in +++ b/gdb/mpw-make.in @@ -112,7 +112,7 @@ CC-LD={CC} # This is essentially the header file directory for the library # routines in libiberty. INCLUDE_DIR = "{srcroot}"include -INCLUDE_CFLAGS = -i {INCLUDE_DIR} -i {INCLUDE_DIR}:mpw -i ::extra-include -i "{srcroot}"bfd +INCLUDE_CFLAGS = -i {INCLUDE_DIR} -i {INCLUDE_DIR}:mpw -i ::extra-include -i "{srcroot}"bfd -i "{srcroot}"readline # Where is the "-liberty" library, containing getopt and obstack? LIBIBERTY = ::libiberty:libiberty.o @@ -133,12 +133,12 @@ BFD_SRC = "{srcdir}"{BFD_DIR} BFD_CFLAGS = -i {BFD_DIR} -i {BFD_SRC} # Where is the READLINE library? Typically in ::readline. -#READLINE_DIR = ::readline +READLINE_DIR = ::readline READLINE = {READLINE_DIR}:libreadline.o -READLINE_DISABLE = -d NO_READLINE -#READLINE_SRC = "{srcdir}"{READLINE_DIR} -#READLINE_CFLAGS = -i {READLINE_SRC} -READLINE_CFLAGS = {READLINE_DISABLE} +#READLINE_DISABLE = -d NO_READLINE +READLINE_SRC = "{srcdir}"{READLINE_DIR} +READLINE_CFLAGS = -i {READLINE_SRC} +#READLINE_CFLAGS = {READLINE_DISABLE} # Opcodes currently live in one of two places. Either they are in the # opcode library, typically ::opcodes, or they are in a header file @@ -659,7 +659,7 @@ OBS = "{o}"version.c.o "{o}"main.c.o "{o}"blockframe.c.o "{o}"breakpoint.gc.o "{ "{o}"c-valprint.c.o "{o}"cp-valprint.c.o "{o}"ch-valprint.c.o "{o}"m2-valprint.c.o "{o}"nlmread.c.o \Option-d "{o}"serial.c.o "{o}"mdebugread.c.o -TSOBS = "{o}"inflow.c.o +TSOBS = NTSOBS = "{o}"standalone.c.o @@ -678,7 +678,7 @@ YYOBJ = c-exp.tab.c.o m2-exp.tab.c.o ch-exp.tab.c.o # .c.o \Option-f # {CC} -c {INTERNAL_CFLAGS} $< -all \Option-f gdb +all \Option-f gdb MacGDB # @{MAKE} {FLAGS_TO_PASS} DO=all "DODIRS=`echo {SUBDIRS} | sed 's:testsuite::'`" subdir_do # The check target can not use subdir_do, because subdir_do does not @@ -705,7 +705,8 @@ gdb.z \Option-f gdb.1 # install-only is intended to address that need. install \Option-f all install-only install-only \Option-f - Duplicate -i -y gdb "{bindir}"gdb + Duplicate -y gdb "{bindir}":gdb + Duplicate -y MacGDB "{bindir}":MacGDB uninstall \Option-f force Delete -i -y {bindir}:gdb {man1dir}:gdb.1 |