This is the mail archive of the gdb-patches@sourceware.org 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]

[rfc/rft] [0/3] Remove stabs target macros


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


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