Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Pedro Alves <palves@redhat.com>
Cc: hjl@sourceware.org, GDB Patches <gdb-patches@sourceware.org>
Subject: Re: Fix AMD64 GNU/Linux build [Re: src/gdb ChangeLog amd64-linux-tdep.c]
Date: Sat, 12 May 2012 13:48:00 -0000	[thread overview]
Message-ID: <CAMe9rOqWYowvaVvP2FvysFL9_u+23xGLeprT-RjaCPm1Wu3RKA@mail.gmail.com> (raw)
In-Reply-To: <4FAE258E.3040205@redhat.com>

On Sat, May 12, 2012 at 1:55 AM, Pedro Alves <palves@redhat.com> wrote:
> On 05/11/2012 11:31 PM, hjl@sourceware.org wrote:
>
>> CVSROOT:      /cvs/src
>> Module name:  src
>> Changes by:   hjl@sourceware.org      2012-05-11 22:31:27
>>
>> Modified files:
>>       gdb            : ChangeLog amd64-linux-tdep.c
>>
>> Log message:
>>       Include 32-linux.c and x32-avx-linux.c
>>
>>       * amd64-linux-tdep.c: Include features/i386/x32-linux.c
>>       and features/i386/x32-avx-linux.c.
>>
>> Patches:
>> http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14240&r2=1.14241
>> http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/amd64-linux-tdep.c.diff?cvsroot=src&r1=1.47&r2=1.48
>>
>
>
> gcc -g3 -O0   -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber  -I../../src/gdb/gnulib/import -Ibuild-gnulib/import   -DTUI=1  -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Werror -c -o amd64-linux-tdep.o -MT amd64-linux-tdep.o -MMD -MP -MF .deps/amd64-linux-tdep.Tpo ../../src/gdb/amd64-linux-tdep.c
> ../../src/gdb/features/i386/x32-linux.c:9:1: error: ‘initialize_tdesc_x32_linux’ defined but not used [-Werror=unused-function]
> ../../src/gdb/features/i386/x32-avx-linux.c:9:1: error: ‘initialize_tdesc_x32_avx_linux’ defined but not used [-Werror=unused-function]
> cc1: all warnings being treated as errors
> make: *** [amd64-linux-tdep.o] Error 1
>
> Calls to initialize the newly included tdescs were missing.  Applied.
>
> 2012-05-12  Pedro Alves  <palves@redhat.com>
>
>        * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Call
>        initialize_tdesc_x32_linux and initialize_tdesc_x32_avx_linux.
> ---

Thanks.


-- 
H.J.


      reply	other threads:[~2012-05-12 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120511223127.4194.qmail@sourceware.org>
2012-05-12  8:56 ` Pedro Alves
2012-05-12 13:48   ` H.J. Lu [this message]

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=CAMe9rOqWYowvaVvP2FvysFL9_u+23xGLeprT-RjaCPm1Wu3RKA@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=hjl@sourceware.org \
    --cc=palves@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