Subject: Re: toolchain/32076
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Nick Hudson <skrll@netbsd.org>
List: netbsd-bugs
Date: 01/15/2006 15:20:02
The following reply was made to PR toolchain/32076; it has been noted by GNATS.

From: Nick Hudson <skrll@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: toolchain/32076
Date: Sun, 15 Jan 2006 15:16:27 +0000

 --Boundary-00=_LdmyD4IheZRIw1Z
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 A fix is attached. It could be improved by providing a 
 nbsd-proc.c:child_pid_to_exec_file. Maybe later...
 
 
 --Boundary-00=_LdmyD4IheZRIw1Z
 Content-Type: text/x-diff;
   charset="us-ascii";
   name="pr32076.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="pr32076.diff"
 
 ? gnu/usr.bin/gdb53/gdb/.gdbinit
 ? gnu/usr.bin/gdb53/gdb/gdb
 ? gnu/usr.bin/gdb53/gdb/gdb.cat1
 ? gnu/usr.bin/gdb53/gdb/gdb.info
 ? gnu/usr.bin/gdb53/gdb/gdbint.info
 ? gnu/usr.bin/gdb53/gdb/stabs.info
 Index: gnu/usr.bin/gdb53/arch/alpha/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/alpha/defs.mk,v
 retrieving revision 1.3
 diff -u -p -u -r1.3 defs.mk
 --- gnu/usr.bin/gdb53/arch/alpha/defs.mk	2 Jan 2004 22:42:05 -0000	1.3
 +++ gnu/usr.bin/gdb53/arch/alpha/defs.mk	15 Jan 2006 07:09:18 -0000
 @@ -122,6 +122,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/alpha/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/alpha/init.c,v
 retrieving revision 1.3
 diff -u -p -u -r1.3 init.c
 --- gnu/usr.bin/gdb53/arch/alpha/init.c	2 Jan 2004 22:42:05 -0000	1.3
 +++ gnu/usr.bin/gdb53/arch/alpha/init.c	15 Jan 2006 07:09:18 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_alphanbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -117,6 +118,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/arm/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/arm/defs.mk,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 defs.mk
 --- gnu/usr.bin/gdb53/arch/arm/defs.mk	21 Oct 2003 19:07:36 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/arm/defs.mk	15 Jan 2006 07:09:18 -0000
 @@ -123,6 +123,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/arm/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/arm/init.c,v
 retrieving revision 1.3
 diff -u -p -u -r1.3 init.c
 --- gnu/usr.bin/gdb53/arch/arm/init.c	1 Dec 2003 17:54:41 -0000	1.3
 +++ gnu/usr.bin/gdb53/arch/arm/init.c	15 Jan 2006 07:09:19 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_arm_netbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -126,6 +127,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/armeb/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/armeb/defs.mk,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 defs.mk
 --- gnu/usr.bin/gdb53/arch/armeb/defs.mk	7 Nov 2003 07:31:44 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/armeb/defs.mk	15 Jan 2006 07:09:19 -0000
 @@ -123,6 +123,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/armeb/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/armeb/init.c,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 init.c
 --- gnu/usr.bin/gdb53/arch/armeb/init.c	1 Dec 2003 17:54:41 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/armeb/init.c	15 Jan 2006 07:09:19 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_arm_netbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -126,6 +127,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/i386/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/i386/defs.mk,v
 retrieving revision 1.5
 diff -u -p -u -r1.5 defs.mk
 --- gnu/usr.bin/gdb53/arch/i386/defs.mk	26 Sep 2003 19:49:41 -0000	1.5
 +++ gnu/usr.bin/gdb53/arch/i386/defs.mk	15 Jan 2006 07:09:20 -0000
 @@ -128,6 +128,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/i386/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/i386/init.c,v
 retrieving revision 1.5
 diff -u -p -u -r1.5 init.c
 --- gnu/usr.bin/gdb53/arch/i386/init.c	1 Dec 2003 17:54:41 -0000	1.5
 +++ gnu/usr.bin/gdb53/arch/i386/init.c	15 Jan 2006 07:09:20 -0000
 @@ -30,6 +30,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_i386nbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -128,6 +129,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/m68000/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/m68000/defs.mk,v
 retrieving revision 1.1
 diff -u -p -u -r1.1 defs.mk
 --- gnu/usr.bin/gdb53/arch/m68000/defs.mk	27 Oct 2003 23:56:55 -0000	1.1
 +++ gnu/usr.bin/gdb53/arch/m68000/defs.mk	15 Jan 2006 07:09:20 -0000
 @@ -121,6 +121,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/m68000/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/m68000/init.c,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 init.c
 --- gnu/usr.bin/gdb53/arch/m68000/init.c	1 Dec 2003 17:54:41 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/m68000/init.c	15 Jan 2006 07:09:20 -0000
 @@ -30,6 +30,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_nbsd_thread;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -119,6 +120,7 @@ initialize_all_files (void)
    _initialize_nbsd_thread ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/m68k/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/m68k/defs.mk,v
 retrieving revision 1.3
 diff -u -p -u -r1.3 defs.mk
 --- gnu/usr.bin/gdb53/arch/m68k/defs.mk	23 Sep 2003 13:32:53 -0000	1.3
 +++ gnu/usr.bin/gdb53/arch/m68k/defs.mk	15 Jan 2006 07:09:20 -0000
 @@ -121,6 +121,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/m68k/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/m68k/init.c,v
 retrieving revision 1.6
 diff -u -p -u -r1.6 init.c
 --- gnu/usr.bin/gdb53/arch/m68k/init.c	1 Dec 2003 17:54:41 -0000	1.6
 +++ gnu/usr.bin/gdb53/arch/m68k/init.c	15 Jan 2006 07:09:20 -0000
 @@ -30,6 +30,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_nbsd_thread;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -119,6 +120,7 @@ initialize_all_files (void)
    _initialize_nbsd_thread ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/mipseb/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/mipseb/defs.mk,v
 retrieving revision 1.1
 diff -u -p -u -r1.1 defs.mk
 --- gnu/usr.bin/gdb53/arch/mipseb/defs.mk	12 Sep 2003 06:42:31 -0000	1.1
 +++ gnu/usr.bin/gdb53/arch/mipseb/defs.mk	15 Jan 2006 07:09:21 -0000
 @@ -119,6 +119,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/mipseb/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/mipseb/init.c,v
 retrieving revision 1.1
 diff -u -p -u -r1.1 init.c
 --- gnu/usr.bin/gdb53/arch/mipseb/init.c	12 Sep 2003 06:42:32 -0000	1.1
 +++ gnu/usr.bin/gdb53/arch/mipseb/init.c	15 Jan 2006 07:09:21 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_mipsnbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -115,6 +116,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/mipsel/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/mipsel/defs.mk,v
 retrieving revision 1.1
 diff -u -p -u -r1.1 defs.mk
 --- gnu/usr.bin/gdb53/arch/mipsel/defs.mk	12 Sep 2003 06:42:38 -0000	1.1
 +++ gnu/usr.bin/gdb53/arch/mipsel/defs.mk	15 Jan 2006 07:09:21 -0000
 @@ -119,6 +119,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/mipsel/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/mipsel/init.c,v
 retrieving revision 1.1
 diff -u -p -u -r1.1 init.c
 --- gnu/usr.bin/gdb53/arch/mipsel/init.c	12 Sep 2003 06:42:38 -0000	1.1
 +++ gnu/usr.bin/gdb53/arch/mipsel/init.c	15 Jan 2006 07:09:21 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_mipsnbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -115,6 +116,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/powerpc/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/powerpc/defs.mk,v
 retrieving revision 1.3
 diff -u -p -u -r1.3 defs.mk
 --- gnu/usr.bin/gdb53/arch/powerpc/defs.mk	2 Apr 2004 13:36:32 -0000	1.3
 +++ gnu/usr.bin/gdb53/arch/powerpc/defs.mk	15 Jan 2006 07:09:21 -0000
 @@ -122,6 +122,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/powerpc/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/powerpc/init.c,v
 retrieving revision 1.4
 diff -u -p -u -r1.4 init.c
 --- gnu/usr.bin/gdb53/arch/powerpc/init.c	2 Apr 2004 13:36:32 -0000	1.4
 +++ gnu/usr.bin/gdb53/arch/powerpc/init.c	15 Jan 2006 07:09:21 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_ppcnbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -118,6 +119,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/sh3eb/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/sh3eb/defs.mk,v
 retrieving revision 1.1
 diff -u -p -u -r1.1 defs.mk
 --- gnu/usr.bin/gdb53/arch/sh3eb/defs.mk	28 Oct 2003 01:21:37 -0000	1.1
 +++ gnu/usr.bin/gdb53/arch/sh3eb/defs.mk	15 Jan 2006 07:09:21 -0000
 @@ -119,6 +119,7 @@ sh-tdep.o \
  shnbsd-nat.o \
  shnbsd-tdep.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/sh3eb/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/sh3eb/init.c,v
 retrieving revision 1.1
 diff -u -p -u -r1.1 init.c
 --- gnu/usr.bin/gdb53/arch/sh3eb/init.c	28 Oct 2003 01:21:37 -0000	1.1
 +++ gnu/usr.bin/gdb53/arch/sh3eb/init.c	15 Jan 2006 07:09:22 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_shnbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -115,6 +116,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/sh3el/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/sh3el/defs.mk,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 defs.mk
 --- gnu/usr.bin/gdb53/arch/sh3el/defs.mk	28 Oct 2003 01:58:23 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/sh3el/defs.mk	15 Jan 2006 07:09:22 -0000
 @@ -119,6 +119,7 @@ sh-tdep.o \
  shnbsd-nat.o \
  shnbsd-tdep.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/sh3el/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/sh3el/init.c,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 init.c
 --- gnu/usr.bin/gdb53/arch/sh3el/init.c	24 Nov 2003 01:59:59 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/sh3el/init.c	15 Jan 2006 07:09:22 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_shnbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -127,6 +128,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/sparc/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/sparc/defs.mk,v
 retrieving revision 1.4
 diff -u -p -u -r1.4 defs.mk
 --- gnu/usr.bin/gdb53/arch/sparc/defs.mk	2 Nov 2003 20:59:28 -0000	1.4
 +++ gnu/usr.bin/gdb53/arch/sparc/defs.mk	15 Jan 2006 07:09:22 -0000
 @@ -118,6 +118,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/sparc/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/sparc/init.c,v
 retrieving revision 1.5
 diff -u -p -u -r1.5 init.c
 --- gnu/usr.bin/gdb53/arch/sparc/init.c	1 Dec 2003 17:54:41 -0000	1.5
 +++ gnu/usr.bin/gdb53/arch/sparc/init.c	15 Jan 2006 07:09:22 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_sparnbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -126,6 +127,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/sparc64/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/sparc64/defs.mk,v
 retrieving revision 1.4
 diff -u -p -u -r1.4 defs.mk
 --- gnu/usr.bin/gdb53/arch/sparc64/defs.mk	4 Nov 2003 19:33:39 -0000	1.4
 +++ gnu/usr.bin/gdb53/arch/sparc64/defs.mk	15 Jan 2006 07:09:22 -0000
 @@ -119,6 +119,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/sparc64/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/sparc64/init.c,v
 retrieving revision 1.5
 diff -u -p -u -r1.5 init.c
 --- gnu/usr.bin/gdb53/arch/sparc64/init.c	1 Dec 2003 17:54:41 -0000	1.5
 +++ gnu/usr.bin/gdb53/arch/sparc64/init.c	15 Jan 2006 07:09:23 -0000
 @@ -29,6 +29,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_sparnbsd_tdep;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -126,6 +127,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 Index: gnu/usr.bin/gdb53/arch/vax/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/vax/defs.mk,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 defs.mk
 --- gnu/usr.bin/gdb53/arch/vax/defs.mk	25 Oct 2003 19:02:07 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/vax/defs.mk	15 Jan 2006 07:09:23 -0000
 @@ -121,6 +121,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/vax/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/vax/init.c,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 init.c
 --- gnu/usr.bin/gdb53/arch/vax/init.c	25 Oct 2003 19:02:07 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/vax/init.c	15 Jan 2006 07:09:23 -0000
 @@ -27,6 +27,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_copying;
  extern initialize_file_ftype _initialize_corelow;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_vax_tdep;
  extern initialize_file_ftype _initialize_vaxnbsd_nat;
 Index: gnu/usr.bin/gdb53/arch/x86_64/defs.mk
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/x86_64/defs.mk,v
 retrieving revision 1.2
 diff -u -p -u -r1.2 defs.mk
 --- gnu/usr.bin/gdb53/arch/x86_64/defs.mk	14 Oct 2003 22:59:59 -0000	1.2
 +++ gnu/usr.bin/gdb53/arch/x86_64/defs.mk	15 Jan 2006 07:09:23 -0000
 @@ -120,6 +120,7 @@ ser-tcp.o \
  ser-unix.o \
  serial.o \
  signals.o \
 +solib-legacy.o \
  solib-svr4.o \
  solib.o \
  source.o \
 Index: gnu/usr.bin/gdb53/arch/x86_64/init.c
 ===================================================================
 RCS file: /cvsroot/src/gnu/usr.bin/gdb53/arch/x86_64/init.c,v
 retrieving revision 1.3
 diff -u -p -u -r1.3 init.c
 --- gnu/usr.bin/gdb53/arch/x86_64/init.c	1 Dec 2003 17:54:41 -0000	1.3
 +++ gnu/usr.bin/gdb53/arch/x86_64/init.c	15 Jan 2006 07:09:23 -0000
 @@ -28,6 +28,7 @@ extern initialize_file_ftype _initialize
  extern initialize_file_ftype _initialize_x86_64_tdep;
  extern initialize_file_ftype _initialize_x86_64nbsd_tdep;
  extern initialize_file_ftype _initialize_solib;
 +extern initialize_file_ftype _initialize_svr4_lm;
  extern initialize_file_ftype _initialize_svr4_solib;
  extern initialize_file_ftype _initialize_ser_hardwire;
  extern initialize_file_ftype _initialize_ser_pipe;
 @@ -120,6 +121,7 @@ initialize_all_files (void)
    _initialize_corelow ();
    _initialize_solib ();
    _initialize_svr4_solib ();
 +  _initialize_svr4_lm ();
    _initialize_ser_hardwire ();
    _initialize_ser_pipe ();
    _initialize_ser_tcp ();
 
 --Boundary-00=_LdmyD4IheZRIw1Z--