gdb: Enable target rx-*-*linux.

Message ID 20210902035857.38121-1-ysato@users.sourceforge.jp
State New
Headers show
Series
  • gdb: Enable target rx-*-*linux.
Related show

Commit Message

Yoshinori Sato Sept. 2, 2021, 3:58 a.m.
I added rx-*-linux in binutils few yaers ago.
But missing this changes,
---
 gdb/configure.tgt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.33.0

Comments

Tom de Vries via Gdb-patches Sept. 2, 2021, 2:28 p.m. | #1
On 2021-09-01 11:58 p.m., Yoshinori Sato wrote:
> I added rx-*-linux in binutils few yaers ago.

> But missing this changes,

> ---

>  gdb/configure.tgt | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/gdb/configure.tgt b/gdb/configure.tgt

> index cac76f4106c..91c3086304a 100644

> --- a/gdb/configure.tgt

> +++ b/gdb/configure.tgt

> @@ -562,7 +562,7 @@ rl78-*-elf)

>  	gdb_sim=../sim/rl78/libsim.a

>  	;;

>  

> -rx-*-elf)

> +rx-*-*)

>  	# Target: Renesas RX

>  	gdb_target_obs="rx-tdep.o"

>  	gdb_sim=../sim/rx/libsim.a

> 


Thanks, this is ok.

Simon

Patch

diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index cac76f4106c..91c3086304a 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -562,7 +562,7 @@  rl78-*-elf)
 	gdb_sim=../sim/rl78/libsim.a
 	;;
 
-rx-*-elf)
+rx-*-*)
 	# Target: Renesas RX
 	gdb_target_obs="rx-tdep.o"
 	gdb_sim=../sim/rx/libsim.a