This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] infrun: step through indirect branch thunks
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/