public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Gary Benson <gbenson@redhat.com>
To: "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 14:58:00 -0000	[thread overview]
Message-ID: <20180413145827.GA29459@blade.nx> (raw)
In-Reply-To: <A78C989F6D9628469189715575E55B2369669DBA@IRSMSX103.ger.corp.intel.com>

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

--
https://gbenson.net/

  parent reply	other threads:[~2018-04-13 14:58 UTC|newest]

Thread overview: 14+ 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 14:42     ` [pushed/ob] Apply "Convert observers to C++" edit to gdbarch.sh (Re: [PATCH] infrun: step through indirect branch thunks) Pedro Alves
2018-04-09 15:04     ` [PATCH] infrun: step through indirect branch thunks Pedro Alves
2018-04-09 16:24       ` Metzger, Markus T
2018-04-09 16:29         ` Pedro Alves
2018-04-10  9:02       ` Metzger, Markus T
2018-04-10  9:10         ` Pedro Alves
2018-04-13 14:58         ` Gary Benson [this message]
2018-04-13 16:07           ` Simon Marchi
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=20180413145827.GA29459@blade.nx \
    --to=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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).