From: Simon Marchi <simon.marchi@ericsson.com>
To: Gary Benson <gbenson@redhat.com>,
"Metzger, Markus T" <markus.t.metzger@intel.com>
Cc: Pedro Alves <palves@redhat.com>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] infrun: step through indirect branch thunks
Date: Fri, 13 Apr 2018 16:07:00 -0000 [thread overview]
Message-ID: <1ed31a6b-bca3-b3ea-c7d9-2d8588c295c1@ericsson.com> (raw)
In-Reply-To: <20180413145827.GA29459@blade.nx>
On 2018-04-13 10:58 AM, Gary Benson wrote:
> Hi Markus,
>
> I'm getting the following error:
>
> CXXLD gdb
> i386-tdep.o: In function `i386_in_indirect_branch_thunk(gdbarch*, unsigned long)':
> /home/gary/work/archer/scratch/src/gdb/i386-tdep.c:4431: undefined reference to `x86_in_indirect_branch_thunk(unsigned long, char const**, int, int)'
> amd64-tdep.o: In function `amd64_in_indirect_branch_thunk(gdbarch*, unsigned long)':
> /home/gary/work/archer/scratch/src/gdb/amd64-tdep.c:3045: undefined reference to `x86_in_indirect_branch_thunk(unsigned long, char const**, int, int)'
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:1915: gdb] Error 1
>
> with this commit:
>
> Metzger, Markus T wrote:
>> commit 5086dc0ba931de64b4d66425561773ec2e11fbea
>> Author: Markus Metzger <markus.t.metzger@intel.com>
>> Date: Wed Feb 14 14:30:57 2018 +0100
>>
>> infrun: step through indirect branch thunks
>
> This is with a clean build on x86_64 RHEL 7.4,
> CFLAGS="-g -O0" CXXFLAGS="-g -O0" ./configure --with-separate-debug-dir=/usr/lib/debug --enable-targets=all
>
> Is anyone else seeing this or is it just me?
>
> Thanks,
> Gary
Is x86-tdep.o built and included in the link command (make V=1)?
Simon
next prev parent reply other threads:[~2018-04-13 16:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 5:16 Markus Metzger
2018-03-26 17:38 ` Pedro Alves
2018-04-09 14:20 ` Metzger, Markus T
2018-04-09 15:04 ` Pedro Alves
2018-04-09 16:24 ` Metzger, Markus T
2018-04-10 9:02 ` Metzger, Markus T
2018-04-13 14:58 ` Gary Benson
2018-04-13 16:07 ` Simon Marchi [this message]
2018-04-15 19:47 ` Simon Marchi
2018-04-16 6:51 ` Metzger, Markus T
2018-04-17 13:32 ` Gary Benson
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=1ed31a6b-bca3-b3ea-c7d9-2d8588c295c1@ericsson.com \
--to=simon.marchi@ericsson.com \
--cc=gbenson@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=markus.t.metzger@intel.com \
--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