diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-04-27 00:55:59 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-04-27 00:55:59 +0000 |
commit | 939baabee2329b56de4a0c44c8030a9c9f57841e (patch) | |
tree | ec95f72bfc357bc3e132d0dc7c53107b306695d3 /gdb/macgdb.r | |
parent | 028f88721998a18e317360487e3a9109a3b866df (diff) | |
download | gdb-939baabee2329b56de4a0c44c8030a9c9f57841e.zip gdb-939baabee2329b56de4a0c44c8030a9c9f57841e.tar.gz gdb-939baabee2329b56de4a0c44c8030a9c9f57841e.tar.bz2 |
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.
Diffstat (limited to 'gdb/macgdb.r')
-rw-r--r-- | gdb/macgdb.r | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/gdb/macgdb.r b/gdb/macgdb.r new file mode 100644 index 0000000..c6798f7 --- /dev/null +++ b/gdb/macgdb.r @@ -0,0 +1,153 @@ +/* Resource file for MacGDB. */ + +#include "Types.r" + +#include "mac-defs.h" + +resource 'MBAR' (128) { + { mApple, mFile, mEdit, mDebug }; +}; + +resource 'MENU' (mApple, preload) { + mApple, + textMenuProc, + 0x7FFFFFFD, + enabled, + apple, + { + "About...", noIcon, noKey, noMark, plain, + "-", noIcon, noKey, noMark, plain + } +}; + +resource 'MENU' (mFile, preload) { + mFile, + textMenuProc, + 0xFFF, + enabled, + "File", + { + "New", noIcon, "N", noMark, plain, + "Open...", noIcon, "O", noMark, plain, + "-", noIcon, noKey, noMark, plain, + "Quit", noIcon, "Q", noMark, plain + } +}; + +resource 'MENU' (mEdit, preload) { + mEdit, + textMenuProc, + 0x3400, + enabled, + "Edit", + { + "Undo", noIcon, "Z", noMark, plain, + "-", noIcon, noKey, noMark, plain, + "Cut", noIcon, "X", noMark, plain, + "Copy", noIcon, "C", noMark, plain, + "Paste", noIcon, "V", noMark, plain, + "Clear", noIcon, noKey, noMark, plain + } +}; + +resource 'MENU' (mDebug, preload) { + mDebug, + textMenuProc, + 0x7FFFFFDD, + 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 + } +}; + +resource 'ALRT' (128) { + {40, 40, 229, 363}, + 128, + { /* array: 4 elements */ + /* [1] */ + OK, visible, sound1, + /* [2] */ + OK, visible, sound1, + /* [3] */ + OK, visible, sound1, + /* [4] */ + OK, visible, sound1 + } +}; + +resource 'DITL' (128) { + { /* array DITLarray: 4 elements */ + /* [1] */ + {164, 115, 184, 185}, + Button { + enabled, + "OK" + }, + /* [2] */ + {5, 10, 43, 290}, + StaticText { + disabled, + "MacGDB" + }, + /* [3] */ + {76, 3, 154, 301}, + StaticText { + disabled, + "GNU Debugger" + "\nCopyright © 1994 Free Software Foundation Inc.\n" + "Written by Stan Shebs." + }, + /* [4] */ + {53, 82, 71, 227}, + StaticText { + disabled, + "version 4.12.1" + } + } +}; + +resource 'WIND' (wConsole, preload, purgeable) { + {40, 40, 310, 572}, + documentProc, + visible, + noGoAway, + 0x0, + "GDB Console" +}; + +resource 'SIZE' (-1) { + reserved, + acceptSuspendResumeEvents, + reserved, + canBackground, + multiFinderAware, + backgroundAndForeground, + dontGetFrontClicks, + ignoreChildDiedEvents, + not32BitCompatible, + isHighLevelEventAware, + localAndRemoteHLEvents, + notStationeryAware, + dontUseTextEditServices, + reserved, + reserved, + reserved, + 50000, + 50000 +}; + +resource 'DLOG' (128) { + {40, 40, 240, 280}, + documentProc, + visible, + goAway, + 0x0, + 128, + "" +}; |