| 1 | Mon Sep 12 17:44:58 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 2 | |
| 3 | * mpw-config.in: Use nm-empty.h if host is not target. |
| 4 | (xdepfiles): Add mac-xdep.c.o. |
| 5 | (xm_file): Remove. |
| 6 | * mpw-make.in: Add Fortran files. |
| 7 | (XDEPFILES): Remove. |
| 8 | |
| 9 | Fri Aug 19 15:23:40 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 10 | |
| 11 | * mpw-init.c (initialize_all_files): Remove inits of utils and |
| 12 | targets. |
| 13 | |
| 14 | Fri Jul 1 11:40:24 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 15 | |
| 16 | * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h. |
| 17 | * ser-mac.c (MacSerial.h): Include instead of Serial.h. |
| 18 | |
| 19 | Wed Jun 29 18:04:55 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 20 | |
| 21 | * mpw-make.in: Use {s} instead of {srcdir} everywhere. |
| 22 | (bindir, libdir): Remove extra colon. |
| 23 | (source.c): Compile with C instead of gC. |
| 24 | (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}. |
| 25 | (install-only): Don't install MacGDB. |
| 26 | * source.c (openp) [MPW]: Add a debugging display. |
| 27 | (open_source_file) [MPW]: Use MPW basename finders. |
| 28 | [MPW_C]: Briefer versions of help for line and list commands. |
| 29 | |
| 30 | Sun Jun 26 23:56:19 1994 Jeff Law (law@snake.cs.utah.edu) |
| 31 | |
| 32 | * mpw-make.in: Change references from paread.c to somread.c |
| 33 | |
| 34 | Wed Jun 22 11:10:27 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 35 | |
| 36 | * mpw-make.in (VERSION): Update to 4.12.3. |
| 37 | (SiowGDB): New target, GDB using SIOW library. |
| 38 | (init-new.c): New target, attempt to generate init.c from sources. |
| 39 | (main.c.o, top.c.o): Put each in its own segment. |
| 40 | * main.c (main) [MPW]: Always call mac_init. |
| 41 | * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output |
| 42 | an extra newline otherwise. |
| 43 | * mac-xdep.c: More comments in various places, remove junk. |
| 44 | (mac_init): Add tests for MPW and SIOW. |
| 45 | (use_wne, has_color_qd): Renamed. |
| 46 | (use_color_qd): New variable. |
| 47 | (grow_window): Only do console resizing to console window, |
| 48 | call resize_console_window. |
| 49 | (zoom_window): Call resize_console_window. |
| 50 | (resize_console_window, scroll_text): New functions. |
| 51 | (adjust_console_sizes): Always align viewrect to even multiples of |
| 52 | text lines. |
| 53 | (adjust_console_text): Always scroll by whole lines. |
| 54 | (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a |
| 55 | recalculation of scroll positions if a newline was output. |
| 56 | (hacked_fflush): Similarly, for flushing. |
| 57 | (hacked_fgetc): New function, aborts if called in MacGDB. |
| 58 | * ser-mac.c (mac_readchar): Rename starttime to start_time, |
| 59 | remove debugging printf. |
| 60 | (mac_write): Sleep on first 4 writes. |
| 61 | (sec_sleep): New function, works like standard sleep. |
| 62 | * macgdb.r: Adjust positioning and contents of About box. |
| 63 | Set minimum size to 2000K, preferred size to 5000K. |
| 64 | * config/m68k/xm-mpw.h (fgetc): Define as a macro. |
| 65 | |
| 66 | Wed Jun 15 17:36:07 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 67 | |
| 68 | * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_. |
| 69 | (top.c.o, annotate.c.o): Add build rules. |
| 70 | * macgdb.r (SysTypes.r): Include. |
| 71 | ('vers'): New resource, version info. |
| 72 | (mFile, mEdit, mDebug): Enable all menu items. |
| 73 | (mDebug): Add key equivalents for continue, step, next. |
| 74 | (wConsole): Add zoom and close boxes to window. |
| 75 | * mac-xdep.c (new_console_window): New function, code taken from |
| 76 | mac_init. |
| 77 | (mac_command_loop): Use GetCaretTime for wait interval, call |
| 78 | do_idle on null events. |
| 79 | (do_idle): New function. |
| 80 | (zoom_window): Implement zooming. |
| 81 | (v_scroll_proc): New function, handles vertical scrolling. |
| 82 | (activate_window): Do activation of console window. |
| 83 | (do_menu_command): Implement items of file, edit, and debug menus. |
| 84 | (do_keyboard_command): Fix command extraction. |
| 85 | (adjust_console_sizes, adjust_console_text): New functions. |
| 86 | (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc, |
| 87 | hacked_putc): Don't call draw_console. |
| 88 | * ser-mac.c (mac_open): Add an error message for invalid ports. |
| 89 | (first_mac_write): New global. |
| 90 | (mac_write): Use first_mac_write to sleep on first several writes. |
| 91 | |
| 92 | Thu May 12 17:04:58 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 93 | |
| 94 | * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir. |
| 95 | (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment. |
| 96 | (TSOBS): Don't compile inflow.c. |
| 97 | (all, install): Add MacGDB. |
| 98 | * main.c (main): Do Mac-specific init and command loop if a |
| 99 | standalone app, skip full option help message if compiling |
| 100 | with MPW C. |
| 101 | (gdb_readline): If MPW, add a newline after the (gdb) prompt. |
| 102 | * utils.c (_initialize_utils): If MPW, don't try to use termcap to |
| 103 | compute the window size. |
| 104 | * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc, |
| 105 | fflush): Define as macros that expand into hacked_... versions. |
| 106 | (StandAlone, mac_app): Declare. |
| 107 | * macgdb.r (SIZE): Set the default partition to 4000K. |
| 108 | * mac-xdep.c (readline.h, history.h): Include. |
| 109 | (terminal.h): Don't include. |
| 110 | (mac_app): Define. |
| 111 | (gdb_has_a_terminal): Define Mac-specific version. |
| 112 | (do_keyboard_command): Simplify search for command string. |
| 113 | (readline): Define as gdb_readline. |
| 114 | Add other history/readline stubs to make main gdb link. |
| 115 | (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs, |
| 116 | hacked_fputc, hacked_fflush): New functions, intercept output to |
| 117 | stdout and stderr, send to console window. |
| 118 | |
| 119 | Tue Apr 26 17:44:27 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 120 | |
| 121 | * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb. |
| 122 | (XDEPFILES): Define. |
| 123 | (main.c.o): Compile with gC instead of C. |
| 124 | * mac-defs.h: New file, menu etc definitions shared between |
| 125 | C and Rez files. |
| 126 | * macgdb.r: New file, Rez (resource compiler) resource |
| 127 | definitions. |
| 128 | * mac-xdep.c: New file, Mac host interface code. |
| 129 | * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to |
| 130 | DIRNAME_SEPARATOR. |
| 131 | (PATHNAME_SEPARATOR_STRING): Remove. |
| 132 | (SIGQUIT, SIGHUP): Define. |
| 133 | (fileno, R_OK): Define. |
| 134 | |
| 135 | Thu Mar 10 15:49:05 1994 Stan Shebs (shebs@andros.cygnus.com) |
| 136 | |
| 137 | * mpw-config.in: New file, MPW configuration fragment. |
| 138 | * mpw-make.in: New file, MPW makefile fragment. |
| 139 | * config/m68k/xm-mpw.h: New file, MPW host definitions. |
| 140 | * ser-mac.c: New file, Mac serial interface. |
| 141 | * mpw-init.c: New file, MPW x mips version of init.c. |
| 142 | |