mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-11 06:04:12 +00:00
e70a10c35a
(sh-hitachi-hms): New target. * mpw-make.in (BISON): Use byacc instead of bison. (VERSION): Bump to 4.14.1. (*-pinsn.*): Remove mentions everywhere. (all): Don't build MacGDB. (gdb, SiowGDB): Depend on Version.r. (Version.r): Generate from version info. * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS. (main) [MPW]: Remove debugging hook. * mac-xdep.c (debug_openp): New flag. (mac_init): Set flag if env variable defined. * ser-mac.c (mac_open): Clarify error message. (mac_readchar): Call PROGRESS while looping. (mac_write): Call sleep instead of sec_sleep. (sec_sleep): Remove. * source.c (openp) [MPW]: Only print debugging info if debugging. * utils.c (query) [MPW]: Clarify that behavior is a bug.
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
# Configuration fragment for GDB.
|
|
|
|
forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
|
|
|
|
forward-include "{srcdir}"config:m68k:xm-m68k.h 'm68k/xm-m68k.h'
|
|
|
|
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.
|
|
|
|
Duplicate -y "{MPW}"Interfaces:CIncludes:Serial.h MacSerial.h
|
|
|
|
Echo "/* dummy */" >termio.h
|
|
|
|
If "{target_canonical}" =~ /m68k-apple-macos/
|
|
forward-include "{srcdir}"config:m68k:tm-mac.h tm.h
|
|
forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h'
|
|
Set tdepfiles '"{o}"m68k-tdep.c.o'
|
|
|
|
Else If "{target_canonical}" =~ /ppc-apple-macos/
|
|
forward-include "{srcdir}"config:powerpc:tm-ppc.h tm.h
|
|
Set tdepfiles '"{o}"ppc-tdep.c.o'
|
|
|
|
Else If "{target_canonical}" =~ /i386-unknown-go32/
|
|
forward-include "{srcdir}"config:i386:tm-i386v.h tm.h
|
|
Set tdepfiles '"{o}"i386-tdep.c.o'
|
|
|
|
Else If "{target_canonical}" =~ /mips-idt-ecoff/
|
|
forward-include "{srcdir}"config:mips:tm-idt.h tm.h
|
|
forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
|
|
forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
|
|
Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
|
|
|
|
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}"
|
|
forward-include "{srcdir}"config:nm-empty.h nm.h
|
|
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 '# End from mpw-config.in' >> "{o}"mk.tmp
|