This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patchv4 3/5] new: solib-sunos.c objfile unification [test needed]
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 19 Sep 2013 07:19:31 -0700
- Subject: Re: [patchv4 3/5] new: solib-sunos.c objfile unification [test needed]
- Authentication-results: sourceware.org; auth=none
- References: <20130919135623 dot GC16978 at host2 dot jankratochvil dot net>
> gdb/
> 2013-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * solib-sunos.c (allocate_rt_common_objfile): Replace it by an
> allocate_objfile call.
> (solib_add_common_symbols): Call free_objfile and allocate_objfile
> instead.
If this is really used on Solaris, I wouldn't mind testing it
(though only with our internal testing, as something in the official
testing badly crashes every single of our Solaris machine).
But isn't this file only used in the case of (old) SunOS, that is
pre-Solaris? Actually, a quick grep shows:
./config/vax/nbsdaout.mh: solib-sunos.o
./config/sparc/nbsdaout.mh: sparc-nat.o sparcnbsd-nat.o bsd-kvm.o solib-sunos.o
./config/m68k/nbsdaout.mh: solib-sunos.o
./config/m68k/obsd.mh: solib-sunos.o
./config/arm/nbsdaout.mh: solib-sunos.o
./config/i386/nbsdaout.mh: solib-sunos.o
./config/i386/obsdaout.mh: solib-sunos.o
I must be missing something, or else did you build with --enable-targets=all?
--
Joel