diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-04-15 12:52:27 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-04-15 15:43:47 -0400 |
commit | eda4efb12763893b8a49c10c6f2823a465c1c6ba (patch) | |
tree | 45c6e832ebb19ceb140e0b9023265ea2d1fa11c1 /gprof | |
parent | ae1d38437284b31d5a1c604bcf391d4543be00a5 (diff) | |
download | gdb-eda4efb12763893b8a49c10c6f2823a465c1c6ba.zip gdb-eda4efb12763893b8a49c10c6f2823a465c1c6ba.tar.gz gdb-eda4efb12763893b8a49c10c6f2823a465c1c6ba.tar.bz2 |
Add x86-tdep.o to i386/amd64 target build
We get this error when doing a build with a single amd64 target (the
default when doing just ./configure on x86-64 GNU/Linux):
/home/simark/src/binutils-gdb/gdb/i386-tdep.c:4431: error: undefined reference to 'x86_in_indirect_branch_thunk(unsigned long, char const**, int, int)'
/home/simark/src/binutils-gdb/gdb/amd64-tdep.c:3045: error: undefined reference to 'x86_in_indirect_branch_thunk(unsigned long, char const**, int, int)'
The problem is that commit
1d509aa625f8 ("infrun: step through indirect branch thunks")
missed adding x86-tdep.o to the list of object file included in an amd64
or i386 build. The problem is not seen with --enable-targets=all
because that file is included in ALL_TARGET_OBS.
Built-tested using:
* --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
* --host=armv7-rpi2-linux-gnueabihf --target=x86_64-pc-linux-gnu
gdb/ChangeLog:
* configure.tgt (x86_tobjs): New variable.
(amd64_tobjs, i386_tobjs): Use it.
Diffstat (limited to 'gprof')
0 files changed, 0 insertions, 0 deletions