rx: Add rx-linux target.

Message ID 20200429124802.2014-1-ysato@users.sourceforge.jp
State New
Headers show
Series
  • rx: Add rx-linux target.
Related show

Commit Message

Yoshinori Sato April 29, 2020, 12:48 p.m.
This target has already been added to binutils.
Currently only rx-*-elf is supported, so add it.

2020-04-27  Yoshinori Sato <ysato@users.sourceforge.jp>

	* configure.tgt: Add rx-*-linux* target.
---
 gdb/configure.tgt | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.20.1

Comments

Tom Tromey April 29, 2020, 8:14 p.m. | #1
>>>>> ">" == Yoshinori Sato <ysato@users.sourceforge.jp> writes:


>> This target has already been added to binutils.

>> Currently only rx-*-elf is supported, so add it.


>> 2020-04-27  Yoshinori Sato <ysato@users.sourceforge.jp>


>> 	* configure.tgt: Add rx-*-linux* target.


If this is enough to make it work, then this is ok.

thanks,
Tom

Patch

diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index b3f31af763..9f47b24c0c 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -556,6 +556,11 @@  rx-*-elf)
 	gdb_sim=../sim/rx/libsim.a
 	;;
 
+rx-*-linux*)
+	# Target: Renesas RX
+	gdb_target_obs="rx-tdep.o linux-tdep.o"
+	;;
+
 score-*-*)
 	# Target: S+core embedded system
 	gdb_target_obs="score-tdep.o"