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] |
Folks... Attached is a patch that gets the Alpha target to GDB_MULTI_ARCH_PARTIAL. This is the low-hanging fruit. I'm a little troubled by the apparent state of the Alpha target. While my patch results in fewer testsuite failures, the number of failures still seems quite high. With the alpha-netbsd target I posted here a while ago: Before: === gdb Summary === # of expected passes 6340 # of unexpected failures 1187 # of unexpected successes 2 # of expected failures 145 # of unresolved testcases 138 # of unsupported tests 3 After: === gdb Summary === # of expected passes 6595 # of unexpected failures 945 # of unexpected successes 4 # of expected failures 143 # of unresolved testcases 118 # of untested testcases 6 # of unsupported tests 3 I would really like to know what the test results are on Digital Unix or Linux (I can't easily install either of those on any of my Alpha systems, unfortunately). I'd really appreciate a sanity check on this patch. Some of the subtleties of e.g. the call_dummy stuff elude me, and this is related to some of the testsuite failures (both before and after). * Makefile.in (alpha-nat.o): Add alpha-tdep.h to dependency list. (alpha-tdep.o): Likewise. * alpha-nat.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. * alphabsd-nat.c: Likewise. * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. Make serveral routines static. (alpha_gdbarch_init): New function. (_initialize_alpha_tdep): Register alpha_gdbarch_init. * alpha-tdep.h: New file. Includes several Alpha target constants taken from... * config/alpha/tm-alpha.h: ...here. Remove macros that we now let gdbarch deal with. (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. -- -- Jason R. Thorpe <thorpej@wasabisystems.com>
Attachment:
alpha-multiarch-1
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |