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