This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
File removals A-D
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 30 Mar 2007 09:54:50 -0400
- Subject: File removals A-D
This removes the obsolete files starting with A through D from my
list, plus a few others that were easier to get at the same time.
Eli, docs look OK?
Say goodbye to dwarf 1, everybody!
--
Daniel Jacobowitz
CodeSourcery
2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
* MAINTAINERS: Remove d10v entry.
* Makefile.in (SFILES): Remove dwarfread.c.
(COMMON_OBS): Remove dwarfread.o.
(gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
(remote-est.o, rom68k-rom.o): Delete.
* NEWS: Mention removal of d10v, target abug, target cpu32bug,
target est, target rom68k, and DWARF 1.
* configure.tgt: Mark d10v as removed.
* dwarf2read.c: Doc update.
* elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
and lnsize.
(elf_locate_sections): Do not set them.
(elf_symfile_read): Do not call dwarf_build_psymtabs.
* symfile.h (dwarf_build_psymtabs): Delete prototype.
* config/m68k/monitor.mt (TDEPFILES): Prune.
* abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
* gdb.texinfo (M68K): Remove obsolete ROM monitors.
* gdbint.texinfo (DWARF 1): Delete section and other dwarfread.c
references.
* gdb.asm/asm-source.exp: Remove d10v case.
* lib/gdb.exp (skip_cplus_tests): Likewise.
* gdb.asm/d10v.inc: Deleted.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.367
diff -u -p -r1.367 MAINTAINERS
--- MAINTAINERS 29 Mar 2007 22:40:12 -0000 1.367
+++ MAINTAINERS 30 Mar 2007 13:35:47 -0000
@@ -259,8 +259,6 @@ the native maintainer when resolving ABI
cris --target=cris-elf ,-Werror ,
(sim does not build with -Werror)
- d10v OBSOLETE
-
frv --target=frv-elf ,-Werror
h8300 --target=h8300-elf ,-Werror
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.888
diff -u -p -r1.888 Makefile.in
--- Makefile.in 30 Mar 2007 12:57:41 -0000 1.888
+++ Makefile.in 30 Mar 2007 13:35:48 -0000
@@ -532,7 +532,7 @@ SFILES = ada-exp.y ada-lang.c ada-typepr
cp-abi.c cp-support.c cp-namespace.c cp-valprint.c \
cp-name-parser.y \
dbxread.c demangle.c dictionary.c disasm.c doublest.c dummy-frame.c \
- dwarfread.c dwarf2expr.c dwarf2loc.c dwarf2read.c dwarf2-frame.c \
+ dwarf2expr.c dwarf2loc.c dwarf2read.c dwarf2-frame.c \
elfread.c environ.c eval.c event-loop.c event-top.c expprint.c \
f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c frame.c \
frame-base.c \
@@ -611,7 +611,6 @@ mep_opc_h = $(OPCODES_SRC)/mep-opc.h
sh_opc_h = $(OPCODES_SRC)/sh-opc.h
gdb_callback_h = $(INCLUDE_DIR)/gdb/callback.h
gdb_sim_arm_h = $(INCLUDE_DIR)/gdb/sim-arm.h
-gdb_sim_d10v_h = $(INCLUDE_DIR)/gdb/sim-d10v.h
gdb_sim_frv_h = $(INCLUDE_DIR)/gdb/sim-frv.h
gdb_sim_m32c_h = $(INCLUDE_DIR)/gdb/sim-m32c.h
gdb_sim_ppc_h = $(INCLUDE_DIR)/gdb/sim-ppc.h
@@ -956,7 +955,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $
gdb-events.o \
exec.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
dbxread.o coffread.o coff-pe-read.o elfread.o \
- dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \
+ dwarf2read.o mipsread.o stabsread.o corefile.o \
dwarf2expr.o dwarf2loc.o dwarf2-frame.o \
ada-lang.o c-lang.o f-lang.o objc-lang.o \
ui-out.o cli-out.o \
@@ -1705,8 +1704,6 @@ stamp-xml: $(srcdir)/features/feature_to
# gdb/ dependencies
#
-abug-rom.o: abug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
- $(serial_h) $(regcache_h) $(m68k_tdep_h)
ada-exp.o: ada-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
$(parser_defs_h) $(language_h) $(ada_lang_h) $(bfd_h) $(symfile_h) \
$(objfiles_h) $(frame_h) $(block_h) $(ada_lex_c)
@@ -1918,8 +1915,6 @@ cp-support.o: cp-support.c $(defs_h) $(c
$(demangle_h) $(gdb_assert_h) $(gdbcmd_h) $(dictionary_h) \
$(objfiles_h) $(frame_h) $(symtab_h) $(block_h) $(complaints_h) \
$(gdbtypes_h)
-cpu32bug-rom.o: cpu32bug-rom.c $(defs_h) $(gdbcore_h) $(target_h) \
- $(monitor_h) $(serial_h) $(regcache_h) $(m68k_tdep_h)
cp-valprint.o: cp-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
$(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
$(demangle_h) $(annotate_h) $(gdb_string_h) $(c_lang_h) $(target_h) \
@@ -1937,7 +1932,6 @@ c-typeprint.o: c-typeprint.c $(defs_h) $
c-valprint.o: c-valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) \
$(gdbtypes_h) $(expression_h) $(value_h) $(valprint_h) $(language_h) \
$(c_lang_h) $(cp_abi_h) $(target_h)
-# OBSOLETE d10v-tdep.o: d10v-tdep.c
dbug-rom.o: dbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
$(serial_h) $(regcache_h) $(m68k_tdep_h)
dbxread.o: dbxread.c $(defs_h) $(gdb_string_h) $(gdb_obstack_h) \
@@ -1979,9 +1973,6 @@ dwarf2read.o: dwarf2read.c $(defs_h) $(b
$(complaints_h) $(bcache_h) $(dwarf2expr_h) $(dwarf2loc_h) \
$(cp_support_h) $(hashtab_h) $(command_h) $(gdbcmd_h) \
$(gdb_string_h) $(gdb_assert_h)
-dwarfread.o: dwarfread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(objfiles_h) \
- $(elf_dwarf_h) $(buildsym_h) $(demangle_h) $(expression_h) \
- $(language_h) $(complaints_h) $(gdb_string_h)
elfread.o: elfread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(elf_bfd_h) \
$(elf_mips_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
$(stabsread_h) $(gdb_stabs_h) $(complaints_h) $(demangle_h)
@@ -2537,8 +2528,6 @@ remote-e7000.o: remote-e7000.c $(defs_h)
$(inferior_h) $(target_h) $(value_h) $(command_h) $(gdb_string_h) \
$(exceptions_h) $(gdbcmd_h) $(serial_h) $(remote_utils_h) \
$(symfile_h) $(regcache_h)
-remote-est.o: remote-est.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
- $(serial_h) $(regcache_h) $(m68k_tdep_h)
remote-fileio.o: remote-fileio.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) \
$(remote_h) $(gdb_fileio_h) $(gdb_wait_h) $(gdb_stat_h) \
$(exceptions_h) $(remote_fileio_h)
@@ -2558,8 +2547,6 @@ remote-sim.o: remote-sim.c $(defs_h) $(i
remote-utils.o: remote-utils.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) \
$(target_h) $(serial_h) $(gdbcore_h) $(inferior_h) $(remote_utils_h) \
$(regcache_h)
-rom68k-rom.o: rom68k-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
- $(serial_h) $(regcache_h) $(value_h) $(m68k_tdep_h)
rs6000-nat.o: rs6000-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
$(xcoffsolib_h) $(symfile_h) $(objfiles_h) $(libbfd_h) $(bfd_h) \
$(exceptions_h) $(gdb_stabs_h) $(regcache_h) $(arch_utils_h) \
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.217
diff -u -p -r1.217 NEWS
--- NEWS 29 Mar 2007 19:58:28 -0000 1.217
+++ NEWS 30 Mar 2007 13:35:48 -0000
@@ -87,6 +87,7 @@ qXfer:features:read:
Support for these obsolete configurations has been removed.
+d10v-*-*
hppa*-*-hiux*
i[34567]86-ncr-*
i[34567]86-*-dgux*
@@ -106,6 +107,20 @@ m68*-cisco*-*
m68*-tandem-*
rs6000-*-lynxos*
+* Other removed features
+
+target abug
+target cpu32bug
+target est
+target rom68k
+
+ Various m68k-only ROM monitors.
+
+DWARF 1 support
+
+ A debug information format. The predecessor to DWARF 2 and
+ DWARF 3, which are still supported.
+
*** Changes in GDB 6.6
* New targets
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.185
diff -u -p -r1.185 configure.tgt
--- configure.tgt 29 Mar 2007 19:58:29 -0000 1.185
+++ configure.tgt 30 Mar 2007 13:35:48 -0000
@@ -6,6 +6,7 @@
# gdb_target name of GDB target definition to use
case $target in
+ d10v-*-* | \
hppa*-*-hiux* | \
i[34567]86-ncr-* | \
i[34567]86-*-lynxos* | \
@@ -92,8 +93,6 @@ avr-*-*) gdb_target=avr ;;
cris*) gdb_target=cris ;;
-# OBSOLETE d10v-*-*) gdb_target=d10v ;;
-
frv-*-*) gdb_target=frv ;;
h8300-*-*) gdb_target=h8300 ;;
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.215
diff -u -p -r1.215 dwarf2read.c
--- dwarf2read.c 12 Feb 2007 15:19:31 -0000 1.215
+++ dwarf2read.c 30 Mar 2007 13:35:50 -0000
@@ -8,7 +8,7 @@
with the Ada Joint Program Office), and Silicon Graphics, Inc.
Initial contribution by Brent Benson, Harris Computer Systems, Inc.,
based on Fred Fish's (Cygnus Support) implementation of DWARF 1
- support in dwarfread.c
+ support.
This file is part of GDB.
Index: elfread.c
===================================================================
RCS file: /cvs/src/src/gdb/elfread.c,v
retrieving revision 1.57
diff -u -p -r1.57 elfread.c
--- elfread.c 9 Jan 2007 17:58:50 -0000 1.57
+++ elfread.c 30 Mar 2007 13:35:50 -0000
@@ -44,10 +44,6 @@ extern void _initialize_elfread (void);
struct elfinfo
{
- file_ptr dboffset; /* Offset to dwarf debug section */
- unsigned int dbsize; /* Size of dwarf debug section */
- file_ptr lnoffset; /* Offset to dwarf line number section */
- unsigned int lnsize; /* Size of dwarf line number section */
asection *stabsect; /* Section pointer for .stab section */
asection *stabindexsect; /* Section pointer for .stab.index section */
asection *mdebugsect; /* Section pointer for .mdebug section */
@@ -80,17 +76,7 @@ elf_locate_sections (bfd *ignore_abfd, a
struct elfinfo *ei;
ei = (struct elfinfo *) eip;
- if (strcmp (sectp->name, ".debug") == 0)
- {
- ei->dboffset = sectp->filepos;
- ei->dbsize = bfd_get_section_size (sectp);
- }
- else if (strcmp (sectp->name, ".line") == 0)
- {
- ei->lnoffset = sectp->filepos;
- ei->lnsize = bfd_get_section_size (sectp);
- }
- else if (strcmp (sectp->name, ".stab") == 0)
+ if (strcmp (sectp->name, ".stab") == 0)
{
ei->stabsect = sectp;
}
@@ -451,7 +437,6 @@ elf_symtab_read (struct objfile *objfile
We look for sections with specific names, to tell us what debug
format to look for: FIXME!!!
- dwarf_build_psymtabs() builds psymtabs for DWARF symbols;
elfstab_build_psymtabs() handles STABS symbols;
mdebug_build_psymtabs() handles ECOFF debugging information.
@@ -608,14 +593,6 @@ elf_symfile_read (struct objfile *objfil
/* DWARF 2 sections */
dwarf2_build_psymtabs (objfile, mainline);
}
- else if (ei.dboffset && ei.lnoffset)
- {
- /* DWARF sections */
- dwarf_build_psymtabs (objfile,
- mainline,
- ei.dboffset, ei.dbsize,
- ei.lnoffset, ei.lnsize);
- }
/* FIXME: kettenis/20030504: This still needs to be integrated with
dwarf2read.c in a better way. */
Index: symfile.h
===================================================================
RCS file: /cvs/src/src/gdb/symfile.h,v
retrieving revision 1.35
diff -u -p -r1.35 symfile.h
--- symfile.h 22 Mar 2007 13:35:05 -0000 1.35
+++ symfile.h 30 Mar 2007 13:35:50 -0000
@@ -318,11 +318,6 @@ extern void symbol_file_clear (int from_
extern bfd_byte *symfile_relocate_debug_section (bfd *abfd, asection *sectp,
bfd_byte * buf);
-/* From dwarfread.c */
-
-extern void dwarf_build_psymtabs (struct objfile *, int, file_ptr,
- unsigned int, file_ptr, unsigned int);
-
/* From dwarf2read.c */
extern int dwarf2_has_info (struct objfile *);
Index: config/m68k/monitor.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/m68k/monitor.mt,v
retrieving revision 1.2
diff -u -p -r1.2 monitor.mt
--- config/m68k/monitor.mt 13 Sep 2004 20:55:40 -0000 1.2
+++ config/m68k/monitor.mt 30 Mar 2007 13:35:50 -0000
@@ -1,3 +1,3 @@
-# Target: Motorola m68k embedded (EST emulator, rom68k and bug monitors)
-TDEPFILES= m68k-tdep.o monitor.o remote-est.o cpu32bug-rom.o rom68k-rom.o abug-rom.o dbug-rom.o dsrec.o
+# Target: Motorola m68k embedded (e.g. bug monitors)
+TDEPFILES= m68k-tdep.o monitor.o dbug-rom.o dsrec.o
DEPRECATED_TM_FILE= tm-monitor.h
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.396
diff -u -p -r1.396 gdb.texinfo
--- doc/gdb.texinfo 30 Mar 2007 12:57:44 -0000 1.396
+++ doc/gdb.texinfo 30 Mar 2007 13:35:53 -0000
@@ -14743,39 +14743,15 @@ Instructs the remote to set breakpoints
@node M68K
@subsection M68k
-The Motorola m68k configuration includes ColdFire support, and
-target command for the following ROM monitors.
+The Motorola m68k configuration includes ColdFire support, and a
+target command for the following ROM monitor.
@table @code
-@kindex target abug
-@item target abug @var{dev}
-ABug ROM monitor for M68K.
-
-@kindex target cpu32bug
-@item target cpu32bug @var{dev}
-CPU32BUG monitor, running on a CPU32 (M68K) board.
-
@kindex target dbug
@item target dbug @var{dev}
dBUG ROM monitor for Motorola ColdFire.
-@kindex target est
-@item target est @var{dev}
-EST-300 ICE monitor, running on a CPU32 (M68K) board.
-
-@kindex target rom68k
-@item target rom68k @var{dev}
-ROM 68K monitor, running on an M68K IDP board.
-
-@end table
-
-@table @code
-
-@kindex target rombug
-@item target rombug @var{dev}
-ROMBUG ROM monitor for OS/9000.
-
@end table
@node MIPS Embedded
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.256
diff -u -p -r1.256 gdbint.texinfo
--- doc/gdbint.texinfo 30 Mar 2007 12:57:44 -0000 1.256
+++ doc/gdbint.texinfo 30 Mar 2007 13:35:54 -0000
@@ -219,7 +219,7 @@ have to include all three kinds of infor
The @value{GDBN} source directory has a mostly flat structure---there
are only a few subdirectories. A file's name usually gives a hint as
to what it does; for example, @file{stabsread.c} reads stabs,
-@file{dwarfread.c} reads DWARF, etc.
+@file{dwarf2read.c} reads @sc{DWARF 2}, etc.
Files that are related to some common task have names that share
common substrings. For example, @file{*-thread.c} files deal with
@@ -2143,20 +2143,6 @@ ECOFF includes a definition of a special
The file @file{mdebugread.c} implements reading for this format.
-@subsection DWARF 1
-
-@cindex DWARF 1 debugging info
-DWARF 1 is a debugging format that was originally designed to be
-used with ELF in SVR4 systems.
-
-@c GCC_PRODUCER
-@c GPLUS_PRODUCER
-@c LCC_PRODUCER
-@c If defined, these are the producer strings in a DWARF 1 file. All of
-@c these have reasonable defaults already.
-
-The DWARF 1 reader is in @file{dwarfread.c}.
-
@subsection DWARF 2
@cindex DWARF 2 debugging info
Index: testsuite/gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.67
diff -u -p -r1.67 asm-source.exp
--- testsuite/gdb.asm/asm-source.exp 9 Jan 2007 17:59:09 -0000 1.67
+++ testsuite/gdb.asm/asm-source.exp 30 Mar 2007 13:35:54 -0000
@@ -52,9 +52,6 @@ switch -glob -- [istarget] {
"xscale-*-*" {
set asm-arch arm
}
- "d10v-*-*" {
- set asm-arch d10v
- }
"frv-*-*" {
set asm-arch frv
}
Index: testsuite/lib/gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.80
diff -u -p -r1.80 gdb.exp
--- testsuite/lib/gdb.exp 27 Mar 2007 17:59:37 -0000 1.80
+++ testsuite/lib/gdb.exp 30 Mar 2007 13:35:54 -0000
@@ -1191,9 +1191,6 @@ proc default_gdb_start { } {
# test C++.
proc skip_cplus_tests {} {
- if { [istarget "d10v-*-*"] } {
- return 1
- }
if { [istarget "h8300-*-*"] } {
return 1
}