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