aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k/xm-mpw.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-06-22 19:57:02 +0000
committerStan Shebs <shebs@codesourcery.com>1994-06-22 19:57:02 +0000
commitb8ec8d4ab0764d664231e80efb5c55a71171f096 (patch)
tree01cf9851ed5e73b5b25d942796168c0df5049471 /gdb/config/m68k/xm-mpw.h
parentd81843e864f8274a1d8d790cf1474a2f54367b20 (diff)
downloadfsf-binutils-gdb-b8ec8d4ab0764d664231e80efb5c55a71171f096.zip
fsf-binutils-gdb-b8ec8d4ab0764d664231e80efb5c55a71171f096.tar.gz
fsf-binutils-gdb-b8ec8d4ab0764d664231e80efb5c55a71171f096.tar.bz2
* mpw-make.in (VERSION): Update to 4.12.3.
(SiowGDB): New target, GDB using SIOW library. (init-new.c): New target, attempt to generate init.c from sources. (main.c.o, top.c.o): Put each in its own segment. * main.c (main) [MPW]: Always call mac_init. * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output an extra newline otherwise. * mac-xdep.c: More comments in various places, remove junk. (mac_init): Add tests for MPW and SIOW. (use_wne, has_color_qd): Renamed. (use_color_qd): New variable. (grow_window): Only do console resizing to console window, call resize_console_window. (zoom_window): Call resize_console_window. (resize_console_window, scroll_text): New functions. (adjust_console_sizes): Always align viewrect to even multiples of text lines. (adjust_console_text): Always scroll by whole lines. (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a recalculation of scroll positions if a newline was output. (hacked_fflush): Similarly, for flushing. (hacked_fgetc): New function, aborts if called in MacGDB. * ser-mac.c (mac_readchar): Rename starttime to start_time, remove debugging printf. (mac_write): Sleep on first 4 writes. (sec_sleep): New function, works like standard sleep. * macgdb.r: Adjust positioning and contents of About box. Set minimum size to 2000K, preferred size to 5000K. * config/m68k/xm-mpw.h (fgetc): Define as a macro.
Diffstat (limited to 'gdb/config/m68k/xm-mpw.h')
-rw-r--r--gdb/config/m68k/xm-mpw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/m68k/xm-mpw.h b/gdb/config/m68k/xm-mpw.h
index 653b6ba..c2485f8 100644
--- a/gdb/config/m68k/xm-mpw.h
+++ b/gdb/config/m68k/xm-mpw.h
@@ -61,6 +61,9 @@ void mpw_abort ();
#define fseek mpw_fseek
#define abort mpw_abort
+/* Map these standard functions to versions that can do I/O in a console
+ window. */
+
#define printf hacked_printf
#define fprintf hacked_fprintf
#define vprintf hacked_vfprintf
@@ -70,6 +73,8 @@ void mpw_abort ();
#define putc hacked_putc
#define fflush hacked_fflush
+#define fgetc hacked_fgetc
+
/* Define as macros so as to mask the previous enum. */
#ifndef BFD_TRUE_FALSE