This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/7] Implement gdbarch_gdb_signal_{to,from}_target
- From: Pedro Alves <palves at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: Joern Rennecke <joern dot rennecke at embecosm dot com>, gdb-patches at sourceware dot org
- Date: Mon, 12 Aug 2013 12:07:25 +0100
- Subject: Re: [PATCH 0/7] Implement gdbarch_gdb_signal_{to,from}_target
- References: <20130810214926 dot eqls003q8gg44sso-nzlynne at webmail dot spamcop dot net> <m3a9kny3b6 dot fsf at redhat dot com>
On 08/12/2013 04:51 AM, Sergio Durigan Junior wrote:
> Sorry, but how are you building this? I'm having trouble reproducing
> the failure. I suppose you're building a GDB for AVR only, which is
> probably not building linux-tdep.o, where both
> linux_gdb_signal_{to,from}_target functions are defined.
>
> There is no avr-linux-tdep.c, which means that when we're not building
> for a Linux target such functions won't be available because
> linux-tdep.o won't be built. I'm not sure how to solve this specific
> problem (whether to propose this avr-linux-tdep or to solve this with
> #ifdef's). Opinions are welcome.
There should be an avr-linux-tdep.c, and Linux things should be
moved there.
--
Pedro Alves