aboutsummaryrefslogtreecommitdiff
path: root/gdb/mac-gdb.r
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-12-12 02:35:27 +0000
committerStan Shebs <shebs@codesourcery.com>1995-12-12 02:35:27 +0000
commitc148ab3c6d9bde57c23eb2d64184f89677ea110b (patch)
tree761386b32ba606454826dcbc36d1e0decdaf410a /gdb/mac-gdb.r
parent1f43e1dd51a810225b3a38a47feffaad40599098 (diff)
downloadfsf-binutils-gdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.zip
fsf-binutils-gdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.tar.gz
fsf-binutils-gdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.tar.bz2
* configure.in (powerpc-*-macos*): New target configuration.
* configure: Update. * config/powerpc/macos.mh, config/powerpc/macos.mt, config/powerpc/nm-macos.h, config/powerpc/tm-macos.h, mac-nat.c: New files, native PowerMac debugging support. * Makefile.in (mac-nat.o): Add build rule. * mpw-config.in (enable_cflags): Add support. (m68k-apple-macos, powerpc-apple-macos): Fix natdepfiles to list object file instead of source file. * mpw-make.sed (@ENABLE_CFLAGS@): Don't edit out, replace with value of variable. (install, install-only): Edit MPW-specific installation into place of Unix shell code. * mac-gdb.r: Fix version resources to use symbolic version strings. (cfrg): New resource, code fragment for PowerMac.
Diffstat (limited to 'gdb/mac-gdb.r')
-rw-r--r--gdb/mac-gdb.r38
1 files changed, 35 insertions, 3 deletions
diff --git a/gdb/mac-gdb.r b/gdb/mac-gdb.r
index da007de..3736dde 100644
--- a/gdb/mac-gdb.r
+++ b/gdb/mac-gdb.r
@@ -5,13 +5,45 @@
#include "mac-defs.h"
+/* Version resources. */
+
resource 'vers' (1) {
- 0x02, 0x00, release, 0x00,
+ 0,
+ 0,
+ 0,
+ 0,
verUS,
- "4.12.3",
- "4.12.3, Copyright \251 1994 Free Software Foundation, Inc."
+ VERSION_STRING,
+ VERSION_STRING " (C) 1986-95 FSF, Inc."
+};
+
+resource 'vers' (2, purgeable) {
+ 0,
+ 0,
+ 0,
+ 0,
+ verUs,
+ VERSION_STRING,
+ "GDB " VERSION_STRING " for MPW"
+};
+
+#ifdef WANT_CFRG
+
+#include "CodeFragmentTypes.r"
+
+resource 'cfrg' (0) {
+ {
+ kPowerPC,
+ kFullLib,
+ kNoVersionNum, kNoVersionNum,
+ 0, 0,
+ kIsApp, kOnDiskFlat, kZeroOffset, kWholeFork,
+ PROG_NAME
+ }
};
+#endif /* WANT_CFRG */
+
#ifdef Macgdb /* Exclude the following from SIOWgdb which uses SIOW.r. */
resource 'MBAR' (128) {