From cb5aa38b3475318b02fccdd9615c3ff50dc61745 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 11 Apr 1995 01:55:20 +0000 Subject: [PATCH] Merge MPW ChangeLog in with generic ChangeLog --- gdb/ChangeLog | 164 +++++++++++++++++++++++++++++++++++++++ gdb/ChangeLog.mpw | 192 ---------------------------------------------- 2 files changed, 164 insertions(+), 192 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 397c33a35d..3c5981d5e8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,165 @@ +Mon Apr 10 18:31:57 1995 Stan Shebs + + Merge in support for Mac MPW as a host. + (Old change descriptions retained for informational value.) + + * mpw-config.in (i386-unknown-go32): Change from aout. + (sh-hitachi-hms): New target. + * mpw-make.in (BISON): Use byacc instead of bison. + (VERSION): Bump to 4.14.1. + (*-pinsn.*): Remove mentions everywhere. + (all): Don't build MacGDB. + (gdb, SiowGDB): Depend on Version.r. + (Version.r): Generate from version info. + * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS. + (main) [MPW]: Remove debugging hook. + * mac-xdep.c (debug_openp): New flag. + (mac_init): Set flag if env variable defined. + * ser-mac.c (mac_open): Clarify error message. + (mac_readchar): Call PROGRESS while looping. + (mac_write): Call sleep instead of sec_sleep. + (sec_sleep): Remove. + * source.c (openp) [MPW]: Only print debugging info if debugging. + * utils.c (query) [MPW]: Clarify that behavior is a bug. + + * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace. + + * main.c, source.c: Remove hacks that replace long strings + with shorter ones, now solved portably. + + * config/m68k/xm-mpw.h (spin.h): Include. + (ALMOST_STDC): Only define if MPW_C. + * config/m68k/tm-mac.h: New file, Mac target definitions. + + * mpw-config.in (m68k-apple-macos, ppc-apple-macos, + i386-unknown-aout): New targets. + (mk.tmp): Add *DEPFILES definitions. + * mpw-make.in: Remove gC rules, clean up definitions for other + include files, bump version, fix bogus \ that should be \Option-d. + (init.c): Build correctly. + + * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h + (ALLDEPFILES): Add somsolib.c. + (somsolib.o): Add some dependencies. + + * mpw-config.in: Use nm-empty.h if host is not target. + (xdepfiles): Add mac-xdep.c.o. + (xm_file): Remove. + * mpw-make.in: Add Fortran files. + (XDEPFILES): Remove. + + * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h. + * ser-mac.c (MacSerial.h): Include instead of Serial.h. + + * mpw-make.in: Use {s} instead of {srcdir} everywhere. + (bindir, libdir): Remove extra colon. + (source.c): Compile with C instead of gC. + (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}. + (install-only): Don't install MacGDB. + * source.c (openp) [MPW]: Add a debugging display. + (open_source_file) [MPW]: Use MPW basename finders. + [MPW_C]: Briefer versions of help for line and list commands. + + * mpw-make.in: Change references from paread.c to somread.c + + * 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. + + * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_. + (top.c.o, annotate.c.o): Add build rules. + * macgdb.r (SysTypes.r): Include. + ('vers'): New resource, version info. + (mFile, mEdit, mDebug): Enable all menu items. + (mDebug): Add key equivalents for continue, step, next. + (wConsole): Add zoom and close boxes to window. + * mac-xdep.c (new_console_window): New function, code taken from + mac_init. + (mac_command_loop): Use GetCaretTime for wait interval, call + do_idle on null events. + (do_idle): New function. + (zoom_window): Implement zooming. + (v_scroll_proc): New function, handles vertical scrolling. + (activate_window): Do activation of console window. + (do_menu_command): Implement items of file, edit, and debug menus. + (do_keyboard_command): Fix command extraction. + (adjust_console_sizes, adjust_console_text): New functions. + (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc, + hacked_putc): Don't call draw_console. + * ser-mac.c (mac_open): Add an error message for invalid ports. + (first_mac_write): New global. + (mac_write): Use first_mac_write to sleep on first several writes. + + * 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. + + * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb. + (XDEPFILES): Define. + (main.c.o): Compile with gC instead of C. + * mac-defs.h: New file, menu etc definitions shared between + C and Rez files. + * macgdb.r: New file, Rez (resource compiler) resource + definitions. + * mac-xdep.c: New file, Mac host interface code. + * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to + DIRNAME_SEPARATOR. + (PATHNAME_SEPARATOR_STRING): Remove. + (SIGQUIT, SIGHUP): Define. + (fileno, R_OK): Define. + + * mpw-config.in: New file, MPW configuration fragment. + * mpw-make.in: New file, MPW makefile fragment. + * config/m68k/xm-mpw.h: New file, MPW host definitions. + * ser-mac.c: New file, Mac serial interface. + Mon Apr 10 16:47:57 1995 Kung Hsu * valprint.c (print_longest): Fix a syntax error in #ifdef @@ -67,6 +229,7 @@ Thu Apr 6 17:00:46 1995 Michael Meissner (X11_LIB_SWITCHES): Define as empty. (X11_LIBS): Define as -lX11. +start-sanitize-gdbtk * configure.in (enable_gdbtk): If gdbtk, support the --x-includes and --x-libraries switches, setting the X11_INCLUDES and X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11 @@ -75,6 +238,7 @@ Thu Apr 6 17:00:46 1995 Michael Meissner * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use it. This means that the stop button doesn't work, but is better than nothing. +end-sanitize-gdbtk Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com) diff --git a/gdb/ChangeLog.mpw b/gdb/ChangeLog.mpw index 89b6e691ee..e69de29bb2 100644 --- a/gdb/ChangeLog.mpw +++ b/gdb/ChangeLog.mpw @@ -1,192 +0,0 @@ -Fri Mar 17 15:01:03 1995 Stan Shebs - - * mpw-config.in (i386-unknown-go32): Change from aout. - (sh-hitachi-hms): New target. - * mpw-make.in (BISON): Use byacc instead of bison. - (VERSION): Bump to 4.14.1. - (*-pinsn.*): Remove mentions everywhere. - (all): Don't build MacGDB. - (gdb, SiowGDB): Depend on Version.r. - (Version.r): Generate from version info. - * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS. - (main) [MPW]: Remove debugging hook. - * mac-xdep.c (debug_openp): New flag. - (mac_init): Set flag if env variable defined. - * ser-mac.c (mac_open): Clarify error message. - (mac_readchar): Call PROGRESS while looping. - (mac_write): Call sleep instead of sec_sleep. - (sec_sleep): Remove. - * source.c (openp) [MPW]: Only print debugging info if debugging. - * utils.c (query) [MPW]: Clarify that behavior is a bug. - -Wed Jan 4 17:55:39 1995 Stan Shebs - - * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace. - -Thu Dec 15 17:53:30 1994 Stan Shebs - - * main.c, source.c: Remove hacks that replace long strings - with shorter ones, now solved portably. - -Tue Dec 13 16:32:09 1994 Stan Shebs - - * config/m68k/xm-mpw.h (spin.h): Include. - (ALMOST_STDC): Only define if MPW_C. - * config/m68k/tm-mac.h: New file, Mac target definitions. - - * mpw-config.in (m68k-apple-macos, ppc-apple-macos, - i386-unknown-aout): New targets. - (mk.tmp): Add *DEPFILES definitions. - * mpw-make.in: Remove gC rules, clean up definitions for other - include files, bump version, fix bogus \ that should be \Option-d. - (init.c): Build correctly. - (mpw-init.c): Remove. - -Mon Nov 7 00:46:22 1994 Jeff Law (law@snake.cs.utah.edu) - - * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h - (ALLDEPFILES): Add somsolib.c. - (somsolib.o): Add some dependencies. - -Mon Sep 12 17:44:58 1994 Stan Shebs (shebs@andros.cygnus.com) - - * mpw-config.in: Use nm-empty.h if host is not target. - (xdepfiles): Add mac-xdep.c.o. - (xm_file): Remove. - * mpw-make.in: Add Fortran files. - (XDEPFILES): Remove. - -Fri Aug 19 15:23:40 1994 Stan Shebs (shebs@andros.cygnus.com) - - * mpw-init.c (initialize_all_files): Remove inits of utils and - targets. - -Fri Jul 1 11:40:24 1994 Stan Shebs (shebs@andros.cygnus.com) - - * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h. - * ser-mac.c (MacSerial.h): Include instead of Serial.h. - -Wed Jun 29 18:04:55 1994 Stan Shebs (shebs@andros.cygnus.com) - - * mpw-make.in: Use {s} instead of {srcdir} everywhere. - (bindir, libdir): Remove extra colon. - (source.c): Compile with C instead of gC. - (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}. - (install-only): Don't install MacGDB. - * source.c (openp) [MPW]: Add a debugging display. - (open_source_file) [MPW]: Use MPW basename finders. - [MPW_C]: Briefer versions of help for line and list commands. - -Sun Jun 26 23:56:19 1994 Jeff Law (law@snake.cs.utah.edu) - - * mpw-make.in: Change references from paread.c to somread.c - -Wed Jun 22 11:10:27 1994 Stan Shebs (shebs@andros.cygnus.com) - - * 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. - -Wed Jun 15 17:36:07 1994 Stan Shebs (shebs@andros.cygnus.com) - - * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_. - (top.c.o, annotate.c.o): Add build rules. - * macgdb.r (SysTypes.r): Include. - ('vers'): New resource, version info. - (mFile, mEdit, mDebug): Enable all menu items. - (mDebug): Add key equivalents for continue, step, next. - (wConsole): Add zoom and close boxes to window. - * mac-xdep.c (new_console_window): New function, code taken from - mac_init. - (mac_command_loop): Use GetCaretTime for wait interval, call - do_idle on null events. - (do_idle): New function. - (zoom_window): Implement zooming. - (v_scroll_proc): New function, handles vertical scrolling. - (activate_window): Do activation of console window. - (do_menu_command): Implement items of file, edit, and debug menus. - (do_keyboard_command): Fix command extraction. - (adjust_console_sizes, adjust_console_text): New functions. - (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc, - hacked_putc): Don't call draw_console. - * ser-mac.c (mac_open): Add an error message for invalid ports. - (first_mac_write): New global. - (mac_write): Use first_mac_write to sleep on first several writes. - -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. - -Tue Apr 26 17:44:27 1994 Stan Shebs (shebs@andros.cygnus.com) - - * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb. - (XDEPFILES): Define. - (main.c.o): Compile with gC instead of C. - * mac-defs.h: New file, menu etc definitions shared between - C and Rez files. - * macgdb.r: New file, Rez (resource compiler) resource - definitions. - * mac-xdep.c: New file, Mac host interface code. - * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to - DIRNAME_SEPARATOR. - (PATHNAME_SEPARATOR_STRING): Remove. - (SIGQUIT, SIGHUP): Define. - (fileno, R_OK): Define. - -Thu Mar 10 15:49:05 1994 Stan Shebs (shebs@andros.cygnus.com) - - * mpw-config.in: New file, MPW configuration fragment. - * mpw-make.in: New file, MPW makefile fragment. - * config/m68k/xm-mpw.h: New file, MPW host definitions. - * ser-mac.c: New file, Mac serial interface. - * mpw-init.c: New file, MPW x mips version of init.c. -