This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/rfc] Obsolete m88k
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 18 Jul 2002 12:24:47 -0400
- Subject: [patch/rfc] Obsolete m88k
Hello,
The attached patch makes the entire 88k target obsolete.
Baring objections, I'll be committing this in a few days.
Andrew
Index: ChangeLog
2002-07-18 Andrew Cagney <cagney@redhat.com>
* README: Remove reference to remote-bug.
* Makefile.in (ALLDEPFILES): Remove m88k-nat.c, m88k-tdep.c and
remote-bug.c.
(m88k-nat.o): Delete rule.
(m88k-tdep.o): Delete rule.
(remote-bug.o): Delete rule.
* MAINTAINERS: Mark as obsolete.
* elfread.c (elf_symtab_read): Mention that m88k is obsolete.
* m88k-tdep.c: Make file obsolete.
* config/m88k/m88k.mh: Ditto.
* config/m88k/delta88v4.mh: Ditto.
* config/m88k/delta88v4.mt: Ditto.
* config/m88k/delta88.mt: Ditto.
* config/m88k/delta88.mh: Ditto.
* remote-bug.c: Ditto.
* config/m88k/tm-delta88.h: Ditto.
* config/m88k/nm-delta88v4.h: Ditto.
* config/m88k/xm-delta88.h: Ditto.
* config/m88k/xm-dgux.h: Ditto.
* config/m88k/tm-m88k.h: Ditto.
* config/m88k/nm-m88k.h: Ditto.
* config/m88k/tm-delta88v4.h: Ditto.
* m88k-nat.c: Ditto.
* cxux-nat.c: Ditto.
* configure.host: Make m88*-motorola-sysv4*, m88*-motorola-sysv*
and m88*-*-* obsolete.
* configure.tgt: Make m88*-motorola-sysv4*, m88*-motorola-* and
m88*-*-* obsolete.
Index: doc/ChangeLog
2002-07-18 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo: Obsolete references to m88k.
* gdb.texinfo: Ditto.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.189
diff -u -r1.189 MAINTAINERS
--- MAINTAINERS 16 Jul 2002 14:30:11 -0000 1.189
+++ MAINTAINERS 18 Jul 2002 16:18:51 -0000
@@ -113,10 +113,7 @@
m68k --target=m68k-elf ,-Werror
Maintenance only
- m88k --target=m88k ,-Werror
- Known problem in 5.1
- Maintenance only
- OBSOLETE candidate, not multi-arch
+ m88k (--target=m88k OBSOLETE)
mcore --target=mcore-elf,mcore-pe ,-Werror
Maintenance only
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.221
diff -u -r1.221 Makefile.in
--- Makefile.in 18 Jul 2002 12:12:42 -0000 1.221
+++ Makefile.in 18 Jul 2002 16:18:52 -0000
@@ -1222,7 +1222,6 @@
lynx-nat.c m3-nat.c \
m68hc11-tdep.c \
m68k-tdep.c \
- m88k-nat.c m88k-tdep.c \
mcore-tdep.c \
mips-linux-nat.c mips-linux-tdep.c \
mips-nat.c \
@@ -1236,7 +1235,7 @@
ppc-sysv-tdep.o ppc-linux-nat.c ppc-linux-tdep.c \
ppcnbsd-nat.o ppcnbsd-tdep.o \
procfs.c \
- remote-array.c remote-bug.c remote-e7000.c \
+ remote-array.c remote-e7000.c \
remote-es.c remote-hms.c remote-mips.c \
remote-nindy.c remote-rdp.c remote-sim.c \
remote-st.c remote-utils.c dcache.c \
@@ -1771,10 +1770,6 @@
m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \
$(language_h) $(gdbcore_h) $(floatformat_h) $(target_h) $(regcache_h)
-m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) $(regcache_h)
-
-m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) $(regcache_h)
-
mac-nat.o: mac-nat.c $(defs_h) $(gdb_string_h) $(regcache_h)
main.o: main.c $(top_h) $(defs_h) $(gdb_string_h) $(event_loop_h) \
@@ -1977,10 +1972,6 @@
remote-rdp.o: remote-rdp.c $(defs_h) $(gdbcore_h) \
$(inferior_h) $(gdb_string_h) $(arm_tdep_h) $(callback_h)
-
-remote-bug.o: remote-bug.c $(defs_h) $(gdbcore_h) $(serial_h) \
- $(inferior_h) $(target_h) $(terminal_h) $(remote_utils_h) \
- $(gdb_string_h) $(regcache_h)
remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) $(target_h) \
$(serial_h) $(gdb_string_h) $(regcache_h)
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.79
diff -u -r1.79 NEWS
--- NEWS 16 Jul 2002 15:19:18 -0000 1.79
+++ NEWS 18 Jul 2002 16:18:53 -0000
@@ -63,6 +63,7 @@
Mitsubishi D30V d30v-*-*
OS/9000 i[34]86-*-os9k
Fujitsu FR30 fr30-*-elf*
+Motorola Delta 88000 running Sys V m88k-motorola-sysv or delta88
* REMOVED configurations and files
Index: README
===================================================================
RCS file: /cvs/src/src/gdb/README,v
retrieving revision 1.19
diff -u -r1.19 README
--- README 25 Apr 2002 23:26:23 -0000 1.19
+++ README 18 Jul 2002 16:18:53 -0000
@@ -451,7 +451,6 @@
remote-adapt.c AMD 29000 "Adapt"
remote-array.c Array Tech RAID controller
- remote-bug.c Motorola BUG monitor
remote-e7000.c Hitachi E7000 ICE
remote-eb.c AMD 29000 "EBMON"
remote-es.c Ericsson 1800 monitor
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.39
diff -u -r1.39 configure.host
--- configure.host 31 May 2002 00:59:13 -0000 1.39
+++ configure.host 18 Jul 2002 16:18:54 -0000
@@ -15,7 +15,7 @@
hppa*) gdb_host_cpu=pa ;;
i[3456]86*) gdb_host_cpu=i386 ;;
m68*) gdb_host_cpu=m68k ;;
-m88*) gdb_host_cpu=m88k ;;
+# OBSOLETE m88*) gdb_host_cpu=m88k ;;
mips*) gdb_host_cpu=mips ;;
powerpc*) gdb_host_cpu=powerpc ;;
sparcv9 | sparc64) gdb_host_cpu=sparc ;;
@@ -106,9 +106,9 @@
m68*-sun-sunos4*) gdb_host=sun3os4 ;;
m68*-sun-*) gdb_host=sun3os4 ;;
-m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
-m88*-motorola-sysv*) gdb_host=delta88 ;;
-m88*-*-*) gdb_host=m88k ;;
+# OBSOLETE m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
+# OBSOLETE m88*-motorola-sysv*) gdb_host=delta88 ;;
+# OBSOLETE m88*-*-*) gdb_host=m88k ;;
mips-dec-mach3*) gdb_host=mipsm3 ;;
mips-dec-*) gdb_host=decstation ;;
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.74
diff -u -r1.74 configure.tgt
--- configure.tgt 16 Jul 2002 15:19:18 -0000 1.74
+++ configure.tgt 18 Jul 2002 16:18:54 -0000
@@ -19,7 +19,7 @@
i[3456]86*) gdb_target_cpu=i386 ;;
m68hc11*|m6811*) gdb_target_cpu=m68hc11 ;;
m68*) gdb_target_cpu=m68k ;;
-m88*) gdb_target_cpu=m88k ;;
+# OBSOLETE m88*) gdb_target_cpu=m88k ;;
mips*) gdb_target_cpu=mips ;;
powerpc*) gdb_target_cpu=powerpc ;;
sparc*) gdb_target_cpu=sparc ;;
@@ -165,9 +165,9 @@
m68*-*-sysv4*) gdb_target=m68kv4 ;;
m68*-*-vxworks*) gdb_target=vxworks68 ;;
-m88*-motorola-sysv4*) gdb_target=delta88v4 ;;
-m88*-motorola-*) gdb_target=delta88 ;;
-m88*-*-*) gdb_target=m88k ;;
+# OBSOLETE m88*-motorola-sysv4*) gdb_target=delta88v4 ;;
+# OBSOLETE m88*-motorola-*) gdb_target=delta88 ;;
+# OBSOLETE m88*-*-*) gdb_target=m88k ;;
mcore*-*-*) gdb_target=mcore ;;
mips64*-big-*) gdb_target=bigmips64 ;;
Index: elfread.c
===================================================================
RCS file: /cvs/src/src/gdb/elfread.c,v
retrieving revision 1.22
diff -u -r1.22 elfread.c
--- elfread.c 22 Jun 2002 00:05:59 -0000 1.22
+++ elfread.c 18 Jul 2002 16:18:54 -0000
@@ -357,12 +357,13 @@
|| ((sym->flags & BSF_LOCAL)
&& sym->name[0] == '$'
&& sym->name[1] == 'L'))
- /* Looks like a compiler-generated label. Skip it.
- The assembler should be skipping these (to keep
- executables small), but apparently with gcc on the
- delta m88k SVR4, it loses. So to have us check too
- should be harmless (but I encourage people to fix this
- in the assembler instead of adding checks here). */
+ /* Looks like a compiler-generated label. Skip
+ it. The assembler should be skipping these (to
+ keep executables small), but apparently with
+ gcc on the (OBSOLETE) delta m88k SVR4, it
+ loses. So to have us check too should be
+ harmless (but I encourage people to fix this in
+ the assembler instead of adding checks here). */
continue;
else
{
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.104
diff -u -r1.104 gdb.texinfo
--- doc/gdb.texinfo 9 Jul 2002 15:59:18 -0000 1.104
+++ doc/gdb.texinfo 18 Jul 2002 16:19:04 -0000
@@ -11307,7 +11307,7 @@
* i960:: Intel i960
* M32R/D:: Mitsubishi M32R/D
* M68K:: Motorola M68K
-* M88K:: Motorola M88K
+@c OBSOLETE * M88K:: Motorola M88K
* MIPS Embedded:: MIPS Embedded
* PA:: HP PA Embedded
* PowerPC: PowerPC
@@ -11742,16 +11742,16 @@
@end table
-@node M88K
-@subsection M88K
-
-@table @code
-
-@kindex target bug
-@item target bug @var{dev}
-BUG monitor, running on a MVME187 (m88k) board.
-
-@end table
+@c OBSOLETE @node M88K
+@c OBSOLETE @subsection M88K
+@c OBSOLETE
+@c OBSOLETE @table @code
+@c OBSOLETE
+@c OBSOLETE @kindex target bug
+@c OBSOLETE @item target bug @var{dev}
+@c OBSOLETE BUG monitor, running on a MVME187 (m88k) board.
+@c OBSOLETE
+@c OBSOLETE @end table
@node MIPS Embedded
@subsection MIPS Embedded
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.94
diff -u -r1.94 gdbint.texinfo
--- doc/gdbint.texinfo 10 Jul 2002 16:07:19 -0000 1.94
+++ doc/gdbint.texinfo 18 Jul 2002 16:19:06 -0000
@@ -3629,9 +3629,9 @@
Define this to convert sdb register numbers into @value{GDBN} regnums. If not
defined, no conversion will be done.
-@item SHIFT_INST_REGS
-@findex SHIFT_INST_REGS
-(Only used for m88k targets.)
+@c OBSOLETE @item SHIFT_INST_REGS
+@c OBSOLETE @findex SHIFT_INST_REGS
+@c OBSOLETE (Only used for m88k targets.)
@item SKIP_PERMANENT_BREAKPOINT
@findex SKIP_PERMANENT_BREAKPOINT