of native support.
* mpw-make.sed: Disable subdir recursion, edit out useless rule.
* mac-xdep.c (Values.h): Don't include.
(GestaltEqu.h): Include Gestalt.h instead.
(do_mouse_down): Comment out control tracking, needs to be
updated to use UPP before will work on PowerMac.
+Thu Oct 26 22:02:27 1995 Stan Shebs <shebs@andros.cygnus.com>
+
+ * mpw-config.in: Add support for PowerMac host, add beginnings
+ of native support.
+ * mpw-make.sed: Disable subdir recursion, edit out useless rule.
+ * mac-xdep.c (Values.h): Don't include.
+ (GestaltEqu.h): Include Gestalt.h instead.
+ (do_mouse_down): Comment out control tracking, needs to be
+ updated to use UPP before will work on PowerMac.
+
Thu Oct 26 15:21:32 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
* regex.h: Renamed to gnu-regex.h.
Tue Oct 24 12:26:14 1995 Stu Grossman (grossman@cygnus.com)
- * monitor.c (monitor_expect_regexp): Same as monitor_expect, but
- with the obvious extension. (monitor_read_memory_single): Use
- regexp for getmem.resp_delim because of parsing ambiguities caused
- by certain monitors. (monitor_read_memory): Use new regexp stuff
- to parse getmem.resp_delim.
- * monitor.h (struct memrw_cmd->resp_delim): Document this as a regexp.
+ * monitor.c (monitor_expect_regexp): Same as monitor_expect, but
+ with the obvious extension.
+ (monitor_read_memory_single): Use regexp for getmem.resp_delim
+ because of parsing ambiguities caused by certain monitors.
+ (monitor_read_memory): Use new regexp stuff to parse
+ getmem.resp_delim.
+ * monitor.h (struct memrw_cmd->resp_delim): Document this as a
+ regexp.
* sh3-rom.c: Finish off table. Use new regexp capability for
getmem commands.
#include "readline.h"
#include "history.h"
-#include <Values.h>
#include <Types.h>
#include <Resources.h>
#include <QuickDraw.h>
#include <Packages.h>
#include <Traps.h>
#include <Lists.h>
-#include <GestaltEqu.h>
+#include <Gestalt.h>
#include <PPCToolbox.h>
#include <AppleEvents.h>
#include <StandardFile.h>
}
break;
default:
+#if 0 /* don't deal with right now */
+#if 1 /* universal headers */
+ value = TrackControl (control, mouse, (ControlActionUPP) v_scroll_proc);
+#else
value = TrackControl (control, mouse, (ProcPtr) v_scroll_proc);
+#endif
+#endif
break;
}
}
# Configuration fragment for GDB.
-forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
+If "{host_canonical}" =~ /m68k-apple-mpw/
+ forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
-forward-include "{srcdir}"config:m68k:xm-m68k.h 'm68k/xm-m68k.h'
+Else If "{host_canonical}" =~ /powerpc-apple-mpw/
+ forward-include "{srcdir}"config:powerpc:xm-mpw.h xm.h
-Set xdepfiles '"{o}"mac-xdep.c.o'
+End If
+
+Set xdepfiles '"{o}"mac-xdep.c.o'
# Make a copy of this file and give it a different name, so it
# won't be confused with GDB's serial.h.
Else If "{target_canonical}" =~ /sh-hitachi-hms/
forward-include "{srcdir}"config:sh:tm-sh.h tm.h
Set tdepfiles '"{o}"sh-tdep.c.o'
+
End If
-If "{target_canonical}" != "{host_canonical}"
+If "{target_canonical}" =~ /m68k-apple-macos/
+ forward-include "{srcdir}"config:m68k:nm-macos.h nm.h
+ Set natdepfiles '"{o}"mac-nat.c'
+
+Else If "{target_canonical}" =~ /powerpc-apple-macos/
+ forward-include "{srcdir}"config:powerpc:nm-macos.h nm.h
+ Set natdepfiles '"{o}"mac-nat.c'
+
+Else
forward-include "{srcdir}"config:nm-empty.h nm.h
- Set natdepfiles " "
+ Set natdepfiles ' '
+
End If
Echo '# From mpw-config.in' > "{o}"mk.tmp
Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
-Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp
+Echo "NATDEPFILES = " {natdepfiles} >> "{o}"mk.tmp
Echo "XM_ADD_FILES = " >> "{o}"mk.tmp
Echo "TM_ADD_FILES = " >> "{o}"mk.tmp
Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp
{MAKEPEF} gdb{PROG_EXT} -o gdb {MAKEPEF_TOOL_FLAGS} {MAKEPEF_FLAGS}\
{REZ} "{s}"mac-gdb.r -o gdb -append -d PROG_NAME='"'gdb'"' -d VERSION_STRING='"'{version}'"'\
+# Don't do any recursive subdir stuff.
+/ subdir_do/s/{MAKE}/null-command/
+
+/^config.status \\Option-f/,/^$/d