* [rfc/rft] [0/3] Remove stabs target macros
@ 2007-10-05 18:04 Ulrich Weigand
2007-10-05 21:03 ` Joel Brobecker
0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Weigand @ 2007-10-05 18:04 UTC (permalink / raw)
To: gdb-patches
Hello,
the following series of three patches removes (nearly) the last remaining
target macros and TM files. These have to do with special cases of the
stabs debug format on certain platforms:
- VARIABLES_INSIDE_BLOCK
(used on arm configurations)
- STATIC_TRANSFORM_NAME / IS_STATIC_TRANSFORM_NAME
(used on Solaris configurations)
- SOFUN_ADDRESS_MAYBE_MISSING
(used on Solaris configurations and i386/ppc Linux)
I don't know if these special cases are actually still relevant today.
However, the patch series should exactly preserve the current behaviour
on all affected targets, by introducing new gdbarch callbacks instead.
Unfortunately, I'm unable to actually test this as I don't have access
to any platform where those cases are used (or indeed any platform
using stabs as native debug format).
I've tested the series on s390-ibm-linux and s390x-ibm-linux without
regressions (when using DWARF-2). I've also ran the testsuite using
CC="gcc -gstabs+" to enforce use of stabs; there were no regressions
introduced by the patches either (however, test results were generally
bad anyway).
I'd appreciate any comments on those patches, and in particular it
would be great if anyone could test them on one of the affected
platforms.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [rfc/rft] [0/3] Remove stabs target macros
2007-10-05 18:04 [rfc/rft] [0/3] Remove stabs target macros Ulrich Weigand
@ 2007-10-05 21:03 ` Joel Brobecker
2007-10-06 13:23 ` Ulrich Weigand
0 siblings, 1 reply; 6+ messages in thread
From: Joel Brobecker @ 2007-10-05 21:03 UTC (permalink / raw)
To: Ulrich Weigand; +Cc: gdb-patches
> Unfortunately, I'm unable to actually test this as I don't have access
> to any platform where those cases are used (or indeed any platform
> using stabs as native debug format).
Would testing your patch on sparc-solaris with -gstabs+ cover
all the testing you need? I have some machines I can use for that.
--
Joel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rfc/rft] [0/3] Remove stabs target macros
2007-10-05 21:03 ` Joel Brobecker
@ 2007-10-06 13:23 ` Ulrich Weigand
2007-10-07 7:29 ` Joel Brobecker
0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Weigand @ 2007-10-06 13:23 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
Joel Brobecker wrote:
> > Unfortunately, I'm unable to actually test this as I don't have access
> > to any platform where those cases are used (or indeed any platform
> > using stabs as native debug format).
>
> Would testing your patch on sparc-solaris with -gstabs+ cover
> all the testing you need? I have some machines I can use for that.
That would certainly help, thanks! Do you have the SunPRO compiler
available on those machines? Some of the changes are apparently
relevant only when using that compiler ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rfc/rft] [0/3] Remove stabs target macros
2007-10-06 13:23 ` Ulrich Weigand
@ 2007-10-07 7:29 ` Joel Brobecker
2007-10-08 15:47 ` Joel Brobecker
0 siblings, 1 reply; 6+ messages in thread
From: Joel Brobecker @ 2007-10-07 7:29 UTC (permalink / raw)
To: Ulrich Weigand; +Cc: gdb-patches
> > Would testing your patch on sparc-solaris with -gstabs+ cover
> > all the testing you need? I have some machines I can use for that.
>
> That would certainly help, thanks! Do you have the SunPRO compiler
> available on those machines? Some of the changes are apparently
> relevant only when using that compiler ...
OK, I'll try to do a round of testing within the next few days.
Unfortunately, I do not have a SunPRO compiler available, but
looking at the SUN documentation, it looks like DWARF is now
their default format. the "cc" man page (for Sun Studio 12: C 5.9
compiler) says that you can generate stabs, but you'll have to
explicitly ask for it using -xdebugformat.
--
Joel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rfc/rft] [0/3] Remove stabs target macros
2007-10-07 7:29 ` Joel Brobecker
@ 2007-10-08 15:47 ` Joel Brobecker
2007-10-08 15:59 ` Ulrich Weigand
0 siblings, 1 reply; 6+ messages in thread
From: Joel Brobecker @ 2007-10-08 15:47 UTC (permalink / raw)
To: Ulrich Weigand; +Cc: gdb-patches
Hi Ulrich,
> > That would certainly help, thanks! Do you have the SunPRO compiler
> > available on those machines? Some of the changes are apparently
> > relevant only when using that compiler ...
>
> OK, I'll try to do a round of testing within the next few days.
Testing done on sparc-solaris 2.8 using a compiler based on GCC 4.1.3
with -gstabs+. No regression found! :)
--
Joel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rfc/rft] [0/3] Remove stabs target macros
2007-10-08 15:47 ` Joel Brobecker
@ 2007-10-08 15:59 ` Ulrich Weigand
0 siblings, 0 replies; 6+ messages in thread
From: Ulrich Weigand @ 2007-10-08 15:59 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
Joel Brobecker wrote:
> > > That would certainly help, thanks! Do you have the SunPRO compiler
> > > available on those machines? Some of the changes are apparently
> > > relevant only when using that compiler ...
> >
> > OK, I'll try to do a round of testing within the next few days.
>
> Testing done on sparc-solaris 2.8 using a compiler based on GCC 4.1.3
> with -gstabs+. No regression found! :)
Great, thanks for testing!
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-10-08 15:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-05 18:04 [rfc/rft] [0/3] Remove stabs target macros Ulrich Weigand
2007-10-05 21:03 ` Joel Brobecker
2007-10-06 13:23 ` Ulrich Weigand
2007-10-07 7:29 ` Joel Brobecker
2007-10-08 15:47 ` Joel Brobecker
2007-10-08 15:59 ` Ulrich Weigand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox