This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Remove hp300 dead files


This patch removes these files:

  config/m68k/nm-hp300hpux.h
  config/m68k/tm-hp300hpux.h
  config/m68k/xm-hp300hpux.h
  config/m68k/xm-hp300bsd.h

These files are part of m68*-hp-hpux* and m68*-hp-bsd*,
which were obsoleted in gdb 5.3 and removed in gdb 6.0.

It also removes reference to these files from Makefile.in,
fnchange.lst, and somsolib.c.  The reference in somsolib.c is
just a comment about hp300 libraries.

My motivation for doing this is pr gdb/124, which requests
to rename the symbol BELIEVE_PCC_PROMOTION to BELIEVE_PCC_PROMOTION_P.
config/m68k/tm-hp300hpux.h is one of the four remaining files
that references this symbol.

Testing: I haven't tested this yet, but I'm going to run
gdb_mbuild.sh before I check it in.

I will commit this after 24 hours, if there are no objections
and if gdb_mbuild.sh works okay.

Michael C

2003-08-30  Michael Chastain  <mec@shout.net>

	* Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h.
	* config/m68k/nm-hp300hpux.h: Delete.
	* config/m68k/tm-hp300hpux.h: Delete.
	* config/m68k/xm-hp300hpux.h: Delete.
	* config/m68k/xm-hp300bsd.h: Delete.
	* config/djgpp/fnchange.lst: Remove nm-hp300hpux.h,
	tm-hp300hpux.h, xm-hp300hpux.h.
	* somsolib.c: Remove comment about hp300 shared libraries.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.431
diff -c -3 -p -r1.431 Makefile.in
*** Makefile.in	20 Aug 2003 20:22:41 -0000	1.431
--- Makefile.in	30 Aug 2003 05:04:54 -0000
*************** gdb1$(EXEEXT): gdb$(EXEEXT)
*** 1098,1105 ****
  # for some machines.
  # But these rules don't do what we want; we want to hack the foo.o: tm.h
  # dependency to do the right thing.
! tm-sun3.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
! tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
  xm-i386-sv32.h: xm-i386.h
  tm-i386gas.h: tm-i386.h
  tm-sun4os4.h: tm-sparc.h
--- 1098,1105 ----
  # for some machines.
  # But these rules don't do what we want; we want to hack the foo.o: tm.h
  # dependency to do the right thing.
! tm-sun3.h tm-altos.h: tm-m68k.h
! tm-sun2.h tm-3b1.h: tm-m68k.h
  xm-i386-sv32.h: xm-i386.h
  tm-i386gas.h: tm-i386.h
  tm-sun4os4.h: tm-sparc.h
Index: somsolib.c
===================================================================
RCS file: /cvs/src/src/gdb/somsolib.c,v
retrieving revision 1.25
diff -c -3 -p -r1.25 somsolib.c
*** somsolib.c	17 Mar 2003 23:25:08 -0000	1.25
--- somsolib.c	30 Aug 2003 05:04:57 -0000
*************** extern struct unwind_table_entry *find_u
*** 74,82 ****
  
  /* TODO:
  
-    * Most of this code should work for hp300 shared libraries.  Does
-    anyone care enough to weed out any SOM-isms.
- 
     * Support for hpux8 dynamic linker.  */
  
  /* The basic structure which describes a dynamically loaded object.  This
--- 74,79 ----
Index: config/djgpp/fnchange.lst
===================================================================
RCS file: /cvs/src/src/gdb/config/djgpp/fnchange.lst,v
retrieving revision 1.56
diff -c -3 -p -r1.56 fnchange.lst
*** config/djgpp/fnchange.lst	27 Aug 2003 19:25:58 -0000	1.56
--- config/djgpp/fnchange.lst	30 Aug 2003 05:04:59 -0000
***************
*** 100,109 ****
  @V@/gdb/config/i386/xm-i386v4.h @V@/gdb/config/i386/xm-v4.h
  @V@/gdb/config/m68k/apollo68v.mh @V@/gdb/config/m68k/apollo-v.mh
  @V@/gdb/config/m68k/nm-apollo68v.h @V@/gdb/config/m68k/nm-apolv.h
- @V@/gdb/config/m68k/nm-hp300hpux.h @V@/gdb/config/m68k/nm-300ux.h
- @V@/gdb/config/m68k/tm-hp300hpux.h @V@/gdb/config/m68k/tm-300ux.h
  @V@/gdb/config/m68k/xm-apollo68v.h @V@/gdb/config/m68k/xm-apolv.h
- @V@/gdb/config/m68k/xm-hp300hpux.h @V@/gdb/config/m68k/xm-300ux.h
  @V@/gdb/config/m88k/tm-delta88v4.h @V@/gdb/config/m88k/tm-d88v4.h
  @V@/gdb/config/m88k/xm-delta88v4.h @V@/gdb/config/m88k/xm-d88v4.h
  @V@/gdb/config/mips/tm-bigmips64.h @V@/gdb/config/mips/tm-bigm64.h
--- 100,106 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]