mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
3d1e5a43cb
[Commit message by Simon Marchi] The GDB build in non-development mode (turn development to false in bfd/development.sh if you want to try) is currently broken: CXXLD gdb /home/smarchi/src/binutils-gdb/gdb/disasm-selftests.c:218: error: undefined reference to 'selftests::register_test_foreach_arch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void (*)(gdbarch*))' /home/smarchi/src/binutils-gdb/gdb/disasm-selftests.c:220: error: undefined reference to 'selftests::register_test_foreach_arch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void (*)(gdbarch*))' /home/smarchi/src/binutils-gdb/gdb/dwarf2/frame.c:2310: error: undefined reference to 'selftests::register_test_foreach_arch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void (*)(gdbarch*))' /home/smarchi/src/binutils-gdb/gdb/gdbarch-selftests.c:168: error: undefined reference to 'selftests::register_test_foreach_arch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void (*)(gdbarch*))' /home/smarchi/src/binutils-gdb/gdbsupport/selftest.cc:96: error: undefined reference to 'selftests::reset()' This is because the gdbsupport configure script doesn't source bfd/development.sh to set the development variable. When $development is unset, GDB_AC_SELFTEST defaults to enabling selftests. I don't think the macro was written with this intention in mind, it just happens to be that way. So gdbsupport thinks selftests are enabled, while gdb thinks they are disabled. gdbsupport compiles in code that calls selftests:: functions, which are normally provided by gdb, but gdb doesn't provide them, hence the undefined references. Fix this by sourcing bfd/development.sh in gdbsupport/configure.ac, so that the development variable is set. gdbsupport/ChangeLog: * configure.ac: Added call development.sh. * configure: Regenerate.
101 lines
2.7 KiB
Plaintext
101 lines
2.7 KiB
Plaintext
2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
|
|
|
|
* configure.ac: Added call development.sh.
|
|
* configure: Regenerate.
|
|
|
|
2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
|
|
|
|
* .gitattributes: New file.
|
|
|
|
2020-03-03 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* Makefile.in: Re-generate.
|
|
|
|
2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
|
|
|
|
* gdb-dlfcn.h (gdb_dlopen): Update comment.
|
|
|
|
2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2020-02-14 Tom Tromey <tom@tromey.com>
|
|
|
|
* common-defs.h: Change path to gnulib/config.h.
|
|
|
|
2020-02-13 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* Makefile.am: Rename source files from .c to .cc.
|
|
(CC, CFLAGS): Don't override.
|
|
(AM_CFLAGS): Rename to ...
|
|
(AM_CXXFLAGS): ... this.
|
|
* Makefile.in: Re-generate.
|
|
* %.c: Rename to %.cc.
|
|
|
|
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* configure: Re-generate.
|
|
|
|
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* warning.m4: Add -Wstrict-null-sentinel.
|
|
* configure: Re-generate.
|
|
|
|
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* warning.m4: Move here, from gdb/warning.m4.
|
|
* acinclude.m4: Update warning.m4 path.
|
|
* Makefile.in: Re-generate.
|
|
|
|
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* acinclude.m4: Include ../gdb/warning.m4.
|
|
* configure.ac: Use AM_GDB_WARNINGS.
|
|
* Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
|
|
* Makefile.in: Re-generate.
|
|
* configure: Re-generate.
|
|
|
|
2020-02-10 Tom de Vries <tdevries@suse.de>
|
|
|
|
* environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
|
|
|
|
2020-01-24 Christian Biesinger <cbiesinger@google.com>
|
|
|
|
* thread-pool.c (set_thread_name): Add an overload for the NetBSD
|
|
version of pthread_setname_np.
|
|
|
|
2020-01-17 Pedro Alves <palves@redhat.com>
|
|
|
|
* Makefile.am: Append CXX_DIALECT to CXX.
|
|
* Makefile.in: Regenerate.
|
|
|
|
2020-01-17 Pedro Alves <palves@redhat.com>
|
|
|
|
* configure.ac: Generate config.h instead of support-config.h.
|
|
* common-defs.h: Include <gdbsupport/config.h> instead of
|
|
<gdbsupport/support-config.h>.
|
|
* Makefile.in: Regenerate.
|
|
* configure: Regenerate.
|
|
|
|
2020-01-14 Tom Tromey <tom@tromey.com>
|
|
|
|
* Makefile.in: Rebuild.
|
|
* Makefile.am (check-defines): New target.
|
|
* check-defines.el: New file.
|
|
|
|
2020-01-14 Tom Tromey <tom@tromey.com>
|
|
|
|
* configure, Makefile.in, aclocal.m4, common.m4, config.in:
|
|
Rebuild.
|
|
* common.m4 (GDB_AC_COMMON): Move many checks from
|
|
gdb/configure.ac.
|
|
* acinclude.m4: Include bfd.m4, ptrace.m4.
|
|
|
|
2020-01-14 Tom Tromey <tom@tromey.com>
|
|
|
|
* common-defs.h: Add GDBSERVER case. Update includes.
|
|
* acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
|
|
Makefile.am, Makefile.in, README: New files.
|
|
* Moved from ../gdb/gdbsupport/
|
|
|