Commit Graph

99703 Commits

Author SHA1 Message Date
GDB Administrator 069022c5b3 Automatic date update in version.in 2020-01-26 00:01:35 +00:00
GDB Administrator 99075aaca1 Automatic date update in version.in 2020-01-25 00:00:54 +00:00
GDB Administrator 937d3d4a1f Automatic date update in version.in 2020-01-24 00:01:02 +00:00
GDB Administrator 0b25a5d915 Automatic date update in version.in 2020-01-23 00:01:16 +00:00
GDB Administrator eb886d58a2 Automatic date update in version.in 2020-01-22 00:01:18 +00:00
GDB Administrator 832bd9e9c9 Automatic date update in version.in 2020-01-21 00:01:48 +00:00
GDB Administrator 283eb89897 Automatic date update in version.in 2020-01-20 00:01:02 +00:00
GDB Administrator 0d4f8ed80a Automatic date update in version.in 2020-01-19 00:01:28 +00:00
GDB Administrator 62723af4cc Automatic date update in version.in 2020-01-18 00:01:25 +00:00
Joel Brobecker 043a001093 Abort configure immediately if building GDB in tree
The move of gnulib to the top src directory is causing the GDB build
to break if configured in tree. We hope to lift that limitation at
some point but, in the meantime, this commit allows us to abort
the initial configure right away with a clear error message should
the user attempt to build in tree.

ChangeLog:

        * configure.ac: Abort the build with an error if trying to build
        GDB in tree.
        * configure: Regenerate.
2020-01-17 19:30:39 +01:00
GDB Administrator a3cf234200 Automatic date update in version.in 2020-01-17 00:01:31 +00:00
GDB Administrator 7f92ae2824 Automatic date update in version.in 2020-01-16 00:01:33 +00:00
GDB Administrator 17524e099d Automatic date update in version.in 2020-01-15 00:00:56 +00:00
GDB Administrator 6c54147084 Automatic date update in version.in 2020-01-14 00:00:55 +00:00
GDB Administrator 7e36ff586d Automatic date update in version.in 2020-01-13 00:00:50 +00:00
GDB Administrator 3e353caee1 Automatic date update in version.in 2020-01-12 00:02:18 +00:00
GDB Administrator 55cca6cf13 Automatic date update in version.in 2020-01-11 00:01:19 +00:00
Christian Biesinger 975292a976 Don't define _FORTIFY_SOURCE on MinGW
Recent MinGW versions require -lssp when using _FORTIFY_SOURCE, which
gdb does (in common-defs.h)
https://github.com/msys2/MINGW-packages/issues/5868#issuecomment-544107564

To avoid all the complications with checking for -lssp and making sure it's
linked statically, just don't define it.

gdb/ChangeLog:

2020-01-10  Christian Biesinger  <cbiesinger@google.com>

	* gdbsupport/common-defs.h: Don't define _FORTIFY_SOURCE on MinGW.

Change-Id: Ide6870ab57198219a2ef78bc675768a789ca2b1d
2020-01-10 11:39:38 -06:00
GDB Administrator ad5e26527f Automatic date update in version.in 2020-01-10 00:00:56 +00:00
GDB Administrator 7e95250e16 Automatic date update in version.in 2020-01-09 00:02:08 +00:00
GDB Administrator cd57c637b2 Automatic date update in version.in 2020-01-08 00:00:53 +00:00
Tom Tromey 3c473fad8f Add constructor to stap_static_probe_ops
PR build/24937 concerns an error given by the clang provided by a
particular version of macOS.  In particular, it reports

    error: default initialization of an object of const type 'const
    stap_static_probe_ops' without a user-provided default constructor

Although (at least according to sources I found online) this was
resolved as a bug in the standard, it seemed simple enough to work
around this.

Given that this is a trivial build fix, I think it should go on the
gdb 9 branch as well.

2020-01-07  Tom Tromey  <tromey@adacore.com>

	PR build/24937:
	* stap-probe.c (class stap_static_probe_ops): Add constructor.

Change-Id: I18f180c17850f420e9b66afc67f9cb3d8dceb0b3
2020-01-07 09:46:26 -07:00
GDB Administrator 6b3a34ea87 Automatic date update in version.in 2020-01-07 00:00:51 +00:00
Andrew Burgess f7da8e5b9b gdb: Fix backtrace with disassemble-next-line on
In this commit:

  commit ec8e2b6d30
  Date:   Fri Jun 14 23:43:00 2019 +0100

      gdb: Don't allow annotations to influence what else GDB prints

A change was accidentally made that moved a call to do_gdb_disassembly
out of an if block guarded by 'if (source_print && sal.symtab)'.  The
result was that if a user has 'set disassemble-next-line on' then the
backtrace would now include some disassembly of a few instructions in
each frame.

This change was not intentional, but was not spotted by any tests.

This commit restores the old behaviour and adds a test to ensure this
doesn't break again in the future.

gdb/ChangeLog:

	* stack.c (print_frame_info): Move disassemble_next_line code
	inside source_print block.

gdb/testsuite/ChangeLog:

	* gdb.base/backtrace.c: New file.
	* gdb.base/backtrace.exp: New file.

Change-Id: I47c52a202fa74be138382646b695827940178689
2020-01-06 21:42:22 +00:00
GDB Administrator f231cbc17e Automatic date update in version.in 2020-01-06 00:01:03 +00:00
Eli Zaretskii 84baa6a515 libctf: Add configure check for asprintf (for MinGW)
This commit fixes a compilation warning when compiling libctf
on MinGW:

    libctf/ctf-dump.c:118:8: warning: implicit declaration of function
    'asprintf'; did you mean 'vasprintf'? [-Wimplicit-function-declaration]

	 if (asprintf (&bit, " %lx: [slice 0x%x:0x%x]",
	     ^~~~~~~~
	     vasprintf

MinGW doesn't provide that function, so we depend on the one provided
by libiberty. However, the declaration is guarded by HAVE_DECL_ASPRINTF,
which we do not have in libctf's config.h.

libctf/ChangeLog:

	PR binutils/25155:
	* configure.ac: Add AC_CHECK_DECLS([asprintf]).
	* configure, config.h.in: Regenerate.

(cherry picked from commit 3a657c600b)
2020-01-05 09:54:55 +04:00
Joel Brobecker 6f6d0a0778 libctf: Regenerate Makefile.in and acinclude.m4
I noticed that if I run "autoreconf" with vanilla automake-1.15.1
and autoconf-2.69, I get some differences.

libctf/ChangeLog:

        * Makefile.in, aclocal.m4: Regenerate.
2020-01-05 09:49:33 +04:00
Joel Brobecker b8e46eb9a1 Update copyright year in gdbarch.sh doc/gdb.texinfo and doc/refcard.tex
These are files that need to be updated by hand, because the copyright.py
script isn't able to handle them automatically.

gdb/ChangeLog:

	* gdbarch.sh: Update copyright year range of generated files.

gdb/doc/ChangeLog:

        * gdb.texinfo, refcard.tex: Update copyright year range.

(cherry picked from commit e5d78223ea)
2020-01-05 09:44:10 +04:00
Joel Brobecker 11bc5fe47f Copyright year range updates after running gdb/copyright.py
gdb/ChangeLog:

	Update copyright year range in all the GDB files automatically
	handled by our copyright.py script.
2020-01-05 09:44:10 +04:00
Joel Brobecker 8b371634b4 gdb/copyright.py: Convert to Python 3
gdb/ChangeLog:

        * copyright.py: Convert to Python 3.

(cherry picked from commit 5f4def5cbd)
2020-01-05 09:44:09 +04:00
Joel Brobecker a292f79fbd gdb/copyright.py: Adapt after move of gnulib from gdb to toplevel
gdb/ChangeLog:

	* copyright.py: Adapt after move of gnulib directory from gdb
	directory to toplevel directory.

(cherry picked from commit 51fd40020e)
2020-01-05 09:44:09 +04:00
Joel Brobecker 1458b0f311 gdb/copyright.py: Exit if run from the wrong directory
We printed an error, but kept going anyway... ;-)

gdb/ChangeLog:

	* copyright.py (main): Exit if run from the wrong directory.

(cherry picked from commit 5fb651f2dd)
2020-01-05 09:44:09 +04:00
Joel Brobecker e9de78be1c update copyright year in version output of gdb, gdbserver and gdbreplay
gdb/ChangeLog:

        * top.c (print_gdb_version): Change copyright year to 2020.

gdb/gdbserver/ChangeLog:

        * server.c (gdbserver_version): Change copyright year to 2020.
        * gdbreplay.c (gdbreplay_version): Likewise.

(cherry picked from commit 5dd8bf886a)
2020-01-05 09:44:09 +04:00
GDB Administrator e33a4274ee Automatic date update in version.in 2020-01-05 00:01:40 +00:00
GDB Administrator 3f83406160 Automatic date update in version.in 2020-01-04 00:00:48 +00:00
GDB Administrator 4955678c8c Automatic date update in version.in 2020-01-03 00:01:53 +00:00
GDB Administrator bf957be6f3 Automatic date update in version.in 2020-01-02 00:01:20 +00:00
GDB Administrator 05989f5ecc Automatic date update in version.in 2020-01-01 00:00:50 +00:00
GDB Administrator 7332f2844c Automatic date update in version.in 2019-12-31 00:01:13 +00:00
GDB Administrator f9d7b63705 Automatic date update in version.in 2019-12-30 00:00:50 +00:00
GDB Administrator af76fcf70f Automatic date update in version.in 2019-12-29 00:01:53 +00:00
GDB Administrator c86ec09cd9 Automatic date update in version.in 2019-12-28 00:01:17 +00:00
GDB Administrator 0e64a4e283 Automatic date update in version.in 2019-12-27 00:01:22 +00:00
Christian Biesinger c0716f3e64 Consistently quote variables used with "test"
This ensures that empty variables and variables with spaces are handled
correctly.

Code was inconsistent on whether the constant string (e.g. yes/no)
should also be quoted; I tried to be consistent with surrounding code.

This fixes the error Eli reported during configure with mingw (though that
was not fatal).

gdb/ChangeLog:

2019-12-19  Christian Biesinger  <cbiesinger@google.com>

	* configure: Regenerate.
	* configure.ac: Quote variable arguments of test.
	* gdbsupport/common.m4: Likewise.

gdb/gdbserver/ChangeLog:

2019-12-19  Christian Biesinger  <cbiesinger@google.com>

	* configure: Regenerate.
	* configure.ac: Quote variable arguments of test.

Change-Id: I220e78b52c7db88b9dd058eda604635b03464fac
2019-12-26 23:34:08 +01:00
GDB Administrator 2030d2b12e Automatic date update in version.in 2019-12-26 00:01:40 +00:00
GDB Administrator f987988860 Automatic date update in version.in 2019-12-25 00:00:57 +00:00
GDB Administrator 8aeb92e18d Automatic date update in version.in 2019-12-24 00:00:56 +00:00
Eli Zaretskii b36fbdf11c Fix compilation of Readline on mingw.org's MinGW
readline/ChangeLog
2019-12-23  Eli Zaretskii  <eliz@gnu.org>

	* posixstat.h (S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH)
	(S_IXOTH, S_IRWXG, S_IRWXO): Define if undefined, even if S_IRWXU
	is defined, because non-Posix systems may defined only the user
	bits.

(cherry picked from commit e76ff63653)
2019-12-23 16:30:35 +02:00
GDB Administrator a0f6c91734 Automatic date update in version.in 2019-12-23 00:00:53 +00:00
GDB Administrator 34f3d48420 Automatic date update in version.in 2019-12-22 00:01:39 +00:00