mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
c884cc4619
I stumbled on this snippet in nat/gdb_ptrace.h: /* Some systems, in particular DEC OSF/1, Digital Unix, Compaq Tru64 or whatever it's called these days, don't provide a prototype for ptrace. Provide one to silence compiler warnings. */ #ifndef HAVE_DECL_PTRACE extern PTRACE_TYPE_RET ptrace(); #endif I believe this is unnecessary today and should be removed. First, the comment only mentions OSes we don't support (and to be honest, I had never even heard of). But most importantly, in C++, a declaration with empty parenthesis declares a function that accepts no arguments, unlike in C. So if this declaration was really used, GDB wouldn't build, since all ptrace call sites pass some arguments. Since we haven't heard anything about this causing some build failures since we have transitioned to C++, I conclude that it's not used. This patch removes it as well as the corresponding configure check. gdb/ChangeLog: * ptrace.m4: Don't check for ptrace declaration. * config.in: Re-generate. * configure: Re-generate. * nat/gdb_ptrace.h: Don't declare ptrace if HAVE_DECL_PTRACE is not defined. gdbserver/ChangeLog: * config.in: Re-generate. * configure: Re-generate. gdbsupport/ChangeLog: * config.in: Re-generate. * configure: Re-generate.
144 lines
3.7 KiB
Plaintext
144 lines
3.7 KiB
Plaintext
2020-03-20 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* config.in: Re-generate.
|
|
* configure: Re-generate.
|
|
|
|
2020-03-17 Kamil Rytarowski <n54@gmx.com>
|
|
|
|
* common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
|
|
|
|
2020-03-12 Tom Tromey <tom@tromey.com>
|
|
|
|
* common-types.h: Remove GDBSERVER code.
|
|
(gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
|
|
* common-defs.h: Remove GDBSERVER code.
|
|
|
|
2020-03-12 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* selftest.m4: Moved from gdb/.
|
|
* acinclude.m4: Update path to selftest.m4.
|
|
|
|
2020-03-12 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* configure.ac: Don't source bfd/development.sh.
|
|
* common.m4: Source bfd/development.sh.
|
|
* configure: Re-generate.
|
|
|
|
2020-03-12 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* configure: Re-generate.
|
|
|
|
2020-03-11 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
* configure: Re-generate.
|
|
* warning.m4: Enable -Wmissing-prototypes.
|
|
|
|
2020-03-08 Tom Tromey <tom@tromey.com>
|
|
|
|
* gdb_binary_search.h: Fix two typos.
|
|
|
|
2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
* .dir-locals.el: New file.
|
|
|
|
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/
|
|
|