Patchwork gdb: xtensa: drop gdb_target definition

login
register
mail settings
Submitter Max Filippov
Date May 9, 2018, 4:43 p.m.
Message ID <20180509164351.22913-1-jcmvbkbc@gmail.com>
Download mbox | patch
Permalink /patch/27183/
State New
Headers show

Comments

Max Filippov - May 9, 2018, 4:43 p.m.
gdb_target definitions were removed from configure.tgt in 2007, before
xtensa port was merged. Remove it from the xtensa target as well.

gbd/
2018-05-09  Max Filippov  <jcmvbkbc@gmail.com>

	* configure.tgt (xtensa*-*-linux*): Drop gdb_target definition.
---
 gdb/configure.tgt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Pedro Alves - May 11, 2018, 2:56 p.m.
On 05/09/2018 05:43 PM, Max Filippov wrote:
> gdb_target definitions were removed from configure.tgt in 2007, before
> xtensa port was merged. Remove it from the xtensa target as well.
> 
> gbd/
> 2018-05-09  Max Filippov  <jcmvbkbc@gmail.com>
> 
> 	* configure.tgt (xtensa*-*-linux*): Drop gdb_target definition.

OK.

Thanks,
Pedro Alves
Max Filippov - May 11, 2018, 6:26 p.m.
On Fri, May 11, 2018 at 7:56 AM, Pedro Alves <palves@redhat.com> wrote:
> On 05/09/2018 05:43 PM, Max Filippov wrote:
>> gdb_target definitions were removed from configure.tgt in 2007, before
>> xtensa port was merged. Remove it from the xtensa target as well.
>>
>> gbd/
>> 2018-05-09  Max Filippov  <jcmvbkbc@gmail.com>
>>
>>       * configure.tgt (xtensa*-*-linux*): Drop gdb_target definition.
>
> OK.

Applied to master.

Patch

diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index e9a2704ebc6e..02358298b548 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -731,7 +731,7 @@  x86_64-*-openbsd*)
 x86_64-*-rtems*)
 	gdb_target_obs="${amd64_tobjs} ${i386_tobjs} i386-bsd-tdep.o"
 	;;
-xtensa*-*-linux*)	gdb_target=linux
+xtensa*-*-linux*)
 	# Target: GNU/Linux Xtensa
 	gdb_target_obs="xtensa-linux-tdep.o symfile-mem.o linux-tdep.o"
 	build_gdbserver=yes