mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-02 17:16:42 +00:00
939baabee2
* 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.
154 lines
2.4 KiB
R
154 lines
2.4 KiB
R
/* 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,
|
|
""
|
|
};
|