Re: Question about running "make check-gdb"
Andrew Burgess <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
* Shahab Vahedi via Gdb <[email protected]> [2021-06-04 11:56:48 +0200]: > Hi Tom, > > Couple of days ago, you've pushed a refactoring commit [1] to gdb. > I noticed after that change I am not able to run gdb tests for > ARC targets anymore. I investigated a little bit and it seems like > that the "target_alias" in generated "gdb/testsuite/site.exp" is > not recognized correctly: > > ------ After the commit ------- > $ configure --target=arc-elf32 ... > $ make > $ make check-gdb > $ cat gdb/testsuite/site.exp > ... > set target_alias @target_noncanonical@ > ... > ------ After the commit ------- > > ------ Before the commit ------- > $ ./configure --target=arc-elf32 ... > $ make > $ make check-gdb > $ cat gdb/testsuite/site.exp > ... > set target_alias arc-elf32 > ... > ------ Before the commit ------- > > I've tried some other target combinations as well to no avail: > > $ ./configure --target=arc-none-elf32 > $ ./configure --target=arc-snps-elf > $ ... > > I would much appreciate it if you could point me in the direction of > how to fix this. I suspect that it was the loss of ACX_NONCANONICAL_TARGET that is the problem, this used to be present in gdb/testsuite/configure.ac, but is not in gdb/configure.ac. Try adding this call into gdb/configure.ac and see if that fixes it for you. thanks, Andrew