This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Create avr-linux-tdep.c (add reintroduce gdbarch_gdb_signal_{to,from}_target for that target)
- From: Joern Rennecke <joern dot rennecke at embecosm dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Pedro Alves <palves at redhat dot com>
- Date: Mon, 12 Aug 2013 17:19:01 -0400
- Subject: Re: [PATCH] Create avr-linux-tdep.c (add reintroduce gdbarch_gdb_signal_{to,from}_target for that target)
- References: <m3wqnqvgh8 dot fsf at redhat dot com>
Quoting Sergio Durigan Junior <sergiodj@redhat.com>:
+avr-*-*linux*)
+ # Target: AVR Linux
+ gdb_target_obs="avr-tdep.o avr-linux-tdep.o linux-tdep.o"
+ gdb_sim=../sim/avr/libsim.a
+ ;;
+
avr-*-*)
# Target: AVR
gdb_target_obs="avr-tdep.o"
That is creating a new target. So are users using a linux host supposed
to configure for this new target? But why does it look like it's the
target that is running linux - there is no such thing for avr.
Shouldn't we rather autoconf the host signals?