]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
GDB Administrator [Sun, 16 Jul 2017 00:01:23 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 15 Jul 2017 00:01:23 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 14 Jul 2017 00:01:13 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 13 Jul 2017 00:01:21 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 12 Jul 2017 00:01:14 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 11 Jul 2017 00:01:18 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 10 Jul 2017 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 9 Jul 2017 00:01:14 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 8 Jul 2017 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 7 Jul 2017 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 6 Jul 2017 00:01:26 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 5 Jul 2017 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 4 Jul 2017 00:01:10 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 3 Jul 2017 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 2 Jul 2017 00:01:13 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 1 Jul 2017 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 30 Jun 2017 00:01:03 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 29 Jun 2017 00:01:30 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 28 Jun 2017 00:01:13 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 27 Jun 2017 00:01:31 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 26 Jun 2017 00:01:06 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 25 Jun 2017 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 24 Jun 2017 00:01:06 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 23 Jun 2017 00:01:01 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 22 Jun 2017 00:01:33 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 21 Jun 2017 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 20 Jun 2017 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 19 Jun 2017 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 18 Jun 2017 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 17 Jun 2017 00:01:14 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 16 Jun 2017 00:01:22 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 15 Jun 2017 00:01:19 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 14 Jun 2017 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 13 Jun 2017 00:01:10 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 12 Jun 2017 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 11 Jun 2017 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 10 Jun 2017 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 9 Jun 2017 00:01:03 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 8 Jun 2017 00:01:14 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 7 Jun 2017 00:01:07 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 6 Jun 2017 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 5 Jun 2017 00:01:18 +0000 (00:01 +0000)]
Automatic date update in version.in
Joel Brobecker [Sun, 4 Jun 2017 16:10:12 +0000 (09:10 -0700)]
Bump GDB version number to 8.0.0.DATE-git.
gdb/ChangeLog:
* version.in: Set GDB version number to 8.0.0.DATE-git.
* PROBLEMS: Likewise.
Joel Brobecker [Sun, 4 Jun 2017 16:04:02 +0000 (09:04 -0700)]
Document the GDB 8.0 release in gdb/ChangeLog
gdb/ChangeLog:
GDB 8.0 released.
Joel Brobecker [Sun, 4 Jun 2017 15:54:54 +0000 (08:54 -0700)]
Set GDB version number to 8.0.
gdb/ChangeLog:
* version.in: Set GDB version number to 8.0.
* PROBLEMS: Likewise.
GDB Administrator [Sun, 4 Jun 2017 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 3 Jun 2017 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 2 Jun 2017 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 1 Jun 2017 00:01:22 +0000 (00:01 +0000)]
Automatic date update in version.in
Eli Zaretskii [Wed, 31 May 2017 06:44:08 +0000 (09:44 +0300)]
Avoid compilation warning on MinGW in xstrndup
libiberty/ChangeLog:
2017-05-31 DJ Delorie <dj@redhat.com>
* configure.ac (strnlen): Add to AC_CHECK_DECLS.
* configure: Likewise.
* config.in: Add HACE_DECL_STRNLEN.
(cherry picked from commit
5b4a1ff337973732ff9a5ad9b1cb84d74a7e6185 )
Eli Zaretskii [Wed, 31 May 2017 06:37:48 +0000 (09:37 +0300)]
Make libiberty/waitpid.c compile without warnings on MinGW
libiberty/ChangeLog:
2017-05-31 Eli Zaretskii <eliz@gnu.org>
* waitpid.c (wait) [__MINGW32__]: Define as a macro
that calls _cwait, so that this function works on MinGW.
(cherry picked from commit
90b4491842980d57a0e572167a168e04a476bca5 )
Eli Zaretskii [Wed, 31 May 2017 06:35:07 +0000 (09:35 +0300)]
Fix MinGW compilation warnings due to environ.h
include/ChangeLog:
2017-05-31 Eli Zaretskii <eliz@gnu.org>
* environ.h: Add #ifndef guard.
(cherry picked from commit
b9c6833008dfb3c45354f4e810e631a77f3c9cb3 )
GDB Administrator [Wed, 31 May 2017 00:01:16 +0000 (00:01 +0000)]
Automatic date update in version.in
Simon Marchi [Tue, 30 May 2017 09:29:57 +0000 (11:29 +0200)]
Fix NEWS formatting in GDB 8.0 section
Change the GDB 8.0 section of the NEWS file to try to follow this order:
* Functional changes
* Added and removed configurations and targets
* New commands
* New options
* MI changes
In particular, there were two "New commands" sections.
gdb/ChangeLog:
* NEWS (Changes in GDB 8.0): Remove extra empty line. Move
"Removed targets and native configurations" up. Merge duplicate
"New commands" sub-sections. Add "New options" sub-sections.
GDB Administrator [Tue, 30 May 2017 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 29 May 2017 00:01:08 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 28 May 2017 00:01:05 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 27 May 2017 00:01:08 +0000 (00:01 +0000)]
Automatic date update in version.in
Eli Zaretskii [Fri, 26 May 2017 07:39:57 +0000 (10:39 +0300)]
Fix compilation errors with mingw.org's MinGW runtime 3.X
gdb/ChangeLog:
2017-05-26 Eli Zaretskii <eliz@gnu.org>
* cli/cli-script.c (user_args::insert_args): Call gdb::to_string.
* common/common-utils.h (REPLACE_TO_STRING) [__MINGW32__]: Define
to 1 if std::to_string is not available.
(gdb::to_string) [REPLACE_TO_STRING]: Provide a replacement
implementation for std::string.
GDB Administrator [Fri, 26 May 2017 00:01:24 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 25 May 2017 00:01:20 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 24 May 2017 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 23 May 2017 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 22 May 2017 00:01:01 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 21 May 2017 00:01:01 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 20 May 2017 00:01:09 +0000 (00:01 +0000)]
Automatic date update in version.in
Rainer Orth [Fri, 19 May 2017 13:03:52 +0000 (15:03 +0200)]
Fix tui compilation with Solaris libcurses: clear define (PR tui/21482)
Rainer Orth [Fri, 19 May 2017 12:01:50 +0000 (14:01 +0200)]
Fix tui compilation with Solaris libcurses: non-const last arg to mvwaddstr (PR tui/21482)
Eli Zaretskii [Fri, 19 May 2017 08:05:59 +0000 (11:05 +0300)]
Avoid MinGW compilation warning in readline/input.c
This change was already accepted upstream in Readline.
readline/ChangeLog.gdb:
2017-05-19 Eli Zaretskii <eliz@gnu.org>
* input.c [_WIN32]: Include <conio.h> to avoid compiler warning on
MinGW.
(cherry picked from commit
50e1d299ef1d21b0833c2fe1484d3cc374e6486f )
Eli Zaretskii [Sat, 13 May 2017 08:10:00 +0000 (11:10 +0300)]
Avoid compiler warning in MinGW build
gdb:
2017-05-13 Eli Zaretskii <eliz@gnu.org>
* tui/tui.c (tui_enable): Cast "unknown" to 'char *' to avoid a
C++ compiler warning.
(cherry picked from commit
adf3dde510088ef8dc46d04df05baf36adb0ed1e )
GDB Administrator [Fri, 19 May 2017 00:01:06 +0000 (00:01 +0000)]
Automatic date update in version.in
Thomas Preud'homme [Thu, 18 May 2017 15:44:25 +0000 (16:44 +0100)]
Expect prompt after no FPU warning
2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
gdb/testsuite/
* gdb.base/float.exp: Expect GDB prompt for targets without FPU.
GDB Administrator [Thu, 18 May 2017 00:01:49 +0000 (00:01 +0000)]
Automatic date update in version.in
Yao Qi [Wed, 17 May 2017 13:22:04 +0000 (14:22 +0100)]
Add alias command to cmd_list_element
When we add alias command, we call add_alias_cmd and pass the alias name
and command name. This implicitly requires the command and its prefix
commands are already added to cmdlist. This may not be true, for example,
add_com_alias ("tty", "set inferior-tty", class_alias, 0);
"inferior-tty" command is added to setlist, but setlist may not be added
to cmdlist (It depends on the order of related _initialize_XXX functions
called) so that we can't find "set inferior-tty" from cmdlist.
This patch fixes this problem by passing cmd_list_element of "inferior-tty"
to add_alias_cmd, so that cmd_list_element of "inferior-tty" doesn't have
to be reachable from cmdlist at that moment.
gdb:
2017-05-17 Yao Qi <yao.qi@linaro.org>
* cli/cli-decode.c (add_alias_cmd): New function.
* command.h (add_alias_cmd): Declare.
* infcmd.c (_initialize_infcmd): Don't call add_com_alias,
instead call add_alias_cmd.
gdb/testsuite:
2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
* gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
argument command.
(top-level): Invoke test_set_inferior_tty.
Tom Tromey [Fri, 12 May 2017 04:22:36 +0000 (22:22 -0600)]
Avoid exponential behavior in rust_evaluate_subexp
The STRUCTOP_STRUCT case in rust_evaluate_subexp would evaluate its
LHS, and then, if it did not need Rust-specific treatment, it would
back up and re-evaluate the entire STRUCTOP_STRUCT part of the
expression using evaluate_subexp_standard. This yields exponential
behavior and causes some expressions to evaluate extremely slowly.
The fix is to simply do the needed work inline.
This is PR rust/21483.
2017-05-12 Tom Tromey <tom@tromey.com>
PR rust/21483:
* rust-lang.c (rust_evaluate_subexp) <STRUCTOP_STRUCT>: Don't
recurse, just call value_struct_elt directly.
Tom Tromey [Fri, 12 May 2017 01:50:47 +0000 (19:50 -0600)]
Fix rust_dump_subexp_body
rust_dump_subexp_body was not correct in a couple of cases. While
debugging the bug I was really interested in, this caused a crash.
This patch fixes the problems. No test case because, IIRC there
generally aren't tests for expression dumping.
2017-05-12 Tom Tromey <tom@tromey.com>
* rust-lang.c (rust_dump_subexp_body) <STRUCTOP_ANONYMOUS,
OP_RUST_ARRAY>: Fix.
Tom Tromey [Fri, 12 May 2017 01:44:43 +0000 (19:44 -0600)]
Replace "return" with "break"
This replaces a "return" with a "break" in rust_print_subexp, for
consistency.
2017-05-12 Tom Tromey <tom@tromey.com>
* rust-lang.c (rust_print_subexp): Replace "return" with "break".
GDB Administrator [Wed, 17 May 2017 00:01:16 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 16 May 2017 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
Rainer Orth [Mon, 15 May 2017 12:36:06 +0000 (14:36 +0200)]
Fix gdb 8.0 procfs.c compilation on Solaris
Prompted by the creation of the gdb 8.0 branch, I tried to build it on
x86_64-pc-solaris2.12, but failed:
/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c: In function `target_ops* procfs_target()':
/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:186:27: error: invalid conversion from `void (*)(target_ops*, char*, char*, char**, int)' to `void (*)(target_ops*, const char*, const string&, char**, int) {aka void (*)(target_ops*, const char*, const std::__cxx11::basic_string<char>&, char**, int)}' [-fpermissive]
t->to_create_inferior = procfs_create_inferior;
^~~~~~~~~~~~~~~~~~~~~~
/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c: At global scope:
/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:125:13: warning: `void procfs_create_inferior(target_ops*, char*, char*, char**, int)' declared `static' but never defined [-Wunused-function]
static void procfs_create_inferior (struct target_ops *, char *,
^~~~~~~~~~~~~~~~~~~~~~
/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:4529:1: warning: `void procfs_create_inferior(target_ops*, const char*, const string&, char**, int)' defined but not used [-Wunused-function]
procfs_create_inferior (struct target_ops *ops, const char *exec_file,
^~~~~~~~~~~~~~~~~~~~~~
This can easily be fixed by the following patch.
* procfs.c (procfs_create_inferior): Change prototype to match
definition.
GDB Administrator [Mon, 15 May 2017 00:01:03 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 14 May 2017 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 13 May 2017 00:01:17 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 12 May 2017 00:01:13 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 11 May 2017 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 10 May 2017 00:01:16 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 9 May 2017 00:01:09 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 8 May 2017 00:01:15 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 7 May 2017 00:01:14 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 6 May 2017 00:01:19 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 5 May 2017 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
Joel Brobecker [Thu, 4 May 2017 19:37:28 +0000 (12:37 -0700)]
Bump GDB version number to 7.99.91.DATE-git.
gdb/ChangeLog:
* version.in: Set GDB version number to 7.99.91.DATE-git.
* PROBLEMS: Likewise.
Joel Brobecker [Thu, 4 May 2017 19:37:15 +0000 (12:37 -0700)]
Document the GDB 7.99.91 release in gdb/ChangeLog
gdb/ChangeLog:
GDB 7.99.91 released.
Joel Brobecker [Thu, 4 May 2017 19:17:21 +0000 (12:17 -0700)]
Set GDB version number to 7.99.91.
gdb/ChangeLog:
* version.in: Set GDB version number to 7.99.91.
* PROBLEMS: Likewise.
Joel Brobecker [Thu, 4 May 2017 19:14:00 +0000 (12:14 -0700)]
gdb/NEWS: rewrite "since GDB 7.12" into "in GDB 8.0"
gdb/ChangeLog:
* NEWS: Rename the "Changes since GDB 7.12" section into
"Changes in GDB 8.0".
Pedro Alves [Thu, 4 May 2017 15:05:15 +0000 (16:05 +0100)]
Fix gdb.python/py-record-btrace-threads.exp with Python 3
Fix several instances of:
...
python print not f1calls
File "<string>", line 1
print not f1calls
^
SyntaxError: Missing parentheses in call to 'print'
Error while executing Python code.
(gdb) FAIL: gdb.python/py-record-btrace-threads.exp: thread=1: checking thread 1: python print not f1calls
...
gdb/testsuite/ChangeLog:
2017-05-04 Pedro Alves <palves@redhat.com>
* gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
Add parens to print call for Python 3.
Tim Wiederhake [Thu, 4 May 2017 07:05:00 +0000 (09:05 +0200)]
Python: Introduce gdb.Instruction class
This adds a generic instruction class to Python and has gdb.RecordInstruction
inherit from it.
Tim Wiederhake [Thu, 4 May 2017 07:05:00 +0000 (09:05 +0200)]
Python: Move and rename gdb.BtraceFunction
Remove gdb.BtraceFunctionCall and replace by gdb.FunctionSegment. Additionally,
rename prev_segment and next_segment to prev and next.
Tim Wiederhake [Thu, 4 May 2017 07:05:00 +0000 (09:05 +0200)]
Python: Move and rename gdb.BtraceInstruction
Remove gdb.BtraceInstruction and replace by gdb.RecordInstruction.
Tim Wiederhake [Thu, 4 May 2017 07:05:00 +0000 (09:05 +0200)]
Python: Introduce gdb.RecordGap class
As discussed here: https://sourceware.org/ml/gdb-patches/2017-04/msg00157.html
A gap is not an instruction and it should not pretend to be one.
gdb.Record.instruction_history is now a list of gdb.RecordInstruction and
gdb.RecordGap objects. This allows the user to deal with Gaps in the record
in a more sane way.