Question about running "make check-gdb"

Shahab Vahedi via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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.


Cheers,
Shahab

[1] Remove gdb/testsuite/configure
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=f99d1d374
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.