diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-06-16 01:03:01 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-06-16 01:03:01 +0000 |
commit | 58c0b523fe57051a0580dbbe6f479da608ade1da (patch) | |
tree | 8580635a8e6712576aa406390501c7bb9ed16db4 /gdb/macgdb.r | |
parent | 675ad6dc6889dfd69f98a7393d52fdac3796f57e (diff) | |
download | gdb-58c0b523fe57051a0580dbbe6f479da608ade1da.zip gdb-58c0b523fe57051a0580dbbe6f479da608ade1da.tar.gz gdb-58c0b523fe57051a0580dbbe6f479da608ade1da.tar.bz2 |
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.
Diffstat (limited to 'gdb/macgdb.r')
-rw-r--r-- | gdb/macgdb.r | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/gdb/macgdb.r b/gdb/macgdb.r index b7bd3a9..07b6882 100644 --- a/gdb/macgdb.r +++ b/gdb/macgdb.r @@ -1,9 +1,17 @@ /* Resource file for MacGDB. */ +#include "SysTypes.r" #include "Types.r" #include "mac-defs.h" +resource 'vers' (1) { + 0x02, 0x00, release, 0x00, + verUS, + "4.12.3", + "4.12.3, Copyright \251 1994 Free Software Foundation, Inc." +}; + resource 'MBAR' (128) { { mApple, mFile, mEdit, mDebug }; }; @@ -23,11 +31,11 @@ resource 'MENU' (mApple, preload) { resource 'MENU' (mFile, preload) { mFile, textMenuProc, - 0xFFF, + allEnabled, enabled, "File", { - "New", noIcon, "N", noMark, plain, + "New", noIcon, noKey, noMark, plain, "Open...", noIcon, "O", noMark, plain, "-", noIcon, noKey, noMark, plain, "Quit", noIcon, "Q", noMark, plain @@ -37,7 +45,7 @@ resource 'MENU' (mFile, preload) { resource 'MENU' (mEdit, preload) { mEdit, textMenuProc, - 0x3400, + allEnabled, enabled, "Edit", { @@ -53,16 +61,16 @@ resource 'MENU' (mEdit, preload) { resource 'MENU' (mDebug, preload) { mDebug, textMenuProc, - 0x7FFFFFDD, + allEnabled, enabled, "Debug", { "Target", noIcon, "T", noMark, plain, "-", noIcon, noKey, noMark, plain, "Run", noIcon, "R", noMark, plain, - "Continue", noIcon, noKey, noMark, plain, - "Step", noIcon, noKey, noMark, plain, - "Next", noIcon, noKey, noMark, plain + "Continue", noIcon, "K", noMark, plain, + "Step", noIcon, "S", noMark, plain, + "Next", noIcon, "N", noMark, plain } }; @@ -114,9 +122,9 @@ resource 'DITL' (128) { resource 'WIND' (wConsole, preload, purgeable) { {40, 40, 310, 572}, - documentProc, + zoomDocProc, visible, - noGoAway, + goAway, 0x0, "GDB Console" }; |