aboutsummaryrefslogtreecommitdiff
path: root/gdb/mac-gdb.r
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-10-19 19:29:52 +0000
committerStan Shebs <shebs@codesourcery.com>1995-10-19 19:29:52 +0000
commita6922ef00319229ff147cbfe7861a0870f56c254 (patch)
tree4155460baa3981a7c7ee4fe5549a2489462c4dae /gdb/mac-gdb.r
parent0d0c3cc58a4adcbd9cbbda03efb7c7519b1ce070 (diff)
downloadgdb-a6922ef00319229ff147cbfe7861a0870f56c254.zip
gdb-a6922ef00319229ff147cbfe7861a0870f56c254.tar.gz
gdb-a6922ef00319229ff147cbfe7861a0870f56c254.tar.bz2
* mpw-config.in: Adapt to work with autoconf'ed configury;
build config.h, add empty definitions to mk.tmp. (powerpc-apple-macos): Make it work. * mpw-make.sed: New file, sed commands to translate Unix makefile into MPW syntax. * mpw-make.in: Remove. * mac-gdb.r: New file, was macgdb.r, renamed for consistency with other tools, now includes cfrg resource. * macgdb.r: Remove. * config/m68k/xm-mpw.h: Remove most of contents, replace with include of include/mpw/mpw.h.
Diffstat (limited to 'gdb/mac-gdb.r')
-rw-r--r--gdb/mac-gdb.r148
1 files changed, 148 insertions, 0 deletions
diff --git a/gdb/mac-gdb.r b/gdb/mac-gdb.r
new file mode 100644
index 0000000..548ba0f
--- /dev/null
+++ b/gdb/mac-gdb.r
@@ -0,0 +1,148 @@
+/* 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 };
+};
+
+resource 'MENU' (mApple, preload) {
+ mApple,
+ textMenuProc,
+ 0x7FFFFFFD,
+ enabled,
+ apple,
+ {
+ "About...", noIcon, noKey, noMark, plain,
+ "-", noIcon, noKey, noMark, plain
+ }
+};
+
+resource 'MENU' (mFile, preload) {
+ mFile,
+ textMenuProc,
+ allEnabled,
+ enabled,
+ "File",
+ {
+ "New", noIcon, noKey, noMark, plain,
+ "Open...", noIcon, "O", noMark, plain,
+ "-", noIcon, noKey, noMark, plain,
+ "Quit", noIcon, "Q", noMark, plain
+ }
+};
+
+resource 'MENU' (mEdit, preload) {
+ mEdit,
+ textMenuProc,
+ allEnabled,
+ 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,
+ allEnabled,
+ enabled,
+ "Debug",
+ {
+ "Target", noIcon, "T", noMark, plain,
+ "-", noIcon, noKey, noMark, plain,
+ "Run", noIcon, "R", noMark, plain,
+ "Continue", noIcon, "K", noMark, plain,
+ "Step", noIcon, "S", noMark, plain,
+ "Next", noIcon, "N", noMark, plain
+ }
+};
+
+resource 'ALRT' (128) {
+ {40, 40, 180, 420},
+ 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: 2 elements */
+ /* [1] */
+ {110, 150, 128, 200},
+ Button {
+ enabled,
+ "OK"
+ },
+ /* [2] */
+ {10, 10, 100, 370},
+ StaticText {
+ disabled,
+ "GDB 4.12.3\n"
+ "Copyright © 1994 Free Software Foundation, Inc.\n"
+ },
+ }
+};
+
+resource 'WIND' (wConsole, preload, purgeable) {
+ {40, 40, 310, 572},
+ zoomDocProc,
+ visible,
+ goAway,
+ 0x0,
+ "GDB Console"
+};
+
+resource 'SIZE' (-1) {
+ reserved,
+ acceptSuspendResumeEvents,
+ reserved,
+ canBackground,
+ multiFinderAware,
+ backgroundAndForeground,
+ dontGetFrontClicks,
+ ignoreChildDiedEvents,
+ not32BitCompatible,
+ isHighLevelEventAware,
+ localAndRemoteHLEvents,
+ notStationeryAware,
+ dontUseTextEditServices,
+ reserved,
+ reserved,
+ reserved,
+ 5000*1024,
+ 2000*1024
+};
+
+resource 'DLOG' (128) {
+ {40, 40, 240, 280},
+ documentProc,
+ visible,
+ goAway,
+ 0x0,
+ 128,
+ ""
+};