Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Sergio Durigan Junior <sergiodj@redhat.com>
Cc: Joern Rennecke <joern.rennecke@embecosm.com>,
	       GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Create avr-linux-tdep.c (add reintroduce gdbarch_gdb_signal_{to,from}_target for that target)
Date: Tue, 13 Aug 2013 14:16:00 -0000	[thread overview]
Message-ID: <520A3FB2.9050602@redhat.com> (raw)
In-Reply-To: <m3siyevauu.fsf@redhat.com>

On 08/12/2013 10:48 PM, Sergio Durigan Junior wrote:
> On Monday, August 12 2013, Joern Rennecke wrote:
> 
>> 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.
> 
> Yes.
> 
>> 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?
> 
> These are not host signals, they are the target's.
> 
> Maybe I am confusing things here.  I saw
> <arch/avr32/include/uapi/asm/signal.h> and I assumed one could run Linux
> on AVR, but on a further investigation I saw that it only applies to
> AVR32, right?  I'm definitely not an expert here, sorry about it.
> 
> But well, if that is the case, then I guess we can either (a) treat
> AVR32 separately and make an avr32-linux-tdep.c for it, or (b) drop this
> patch entirely.

Looks like upstream GDB doesn't support AVR32 at all.  At least, I
can't find any hit for avr32 in the sources.  I looked around, and
I can't find GDB in Atmel's current toolchains (on their site).  I found
avr32-gdb-6.7.1.atmel.1.0.4.tar.gz at
http://distribute.atmel.no/tools/avr32/old/avr32gnutoolchain/v2.2.1/source/
though (note "old"), which does contain AVR32 GDB and GDBserver ports.
Guess this was never pushed upstream.  Sounds like we should drop
this patch then.

-- 
Pedro Alves


  reply	other threads:[~2013-08-13 14:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12 19:47 Sergio Durigan Junior
2013-08-12 21:19 ` Joern Rennecke
2013-08-12 21:49   ` Sergio Durigan Junior
2013-08-13 14:16     ` Pedro Alves [this message]
2013-08-13 16:00       ` Sergio Durigan Junior
2013-08-25  4:51     ` Mike Frysinger
2013-08-25 19:42       ` Sergio Durigan Junior
2013-08-26  3:41         ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=520A3FB2.9050602@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=joern.rennecke@embecosm.com \
    --cc=sergiodj@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox