]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
Joel Brobecker [Wed, 13 May 2015 17:52:34 +0000 (10:52 -0700)]
Bump GDB version number to 7.9.1.DATE-cvs.
gdb/ChangeLog:
* version.in: Set GDB version number to 7.9.1.DATE-cvs.
Joel Brobecker [Wed, 13 May 2015 17:46:52 +0000 (10:46 -0700)]
Document the GDB 7.9.1 release in gdb/ChangeLog
gdb/ChangeLog:
GDB 7.9.1 released.
Joel Brobecker [Wed, 13 May 2015 17:36:06 +0000 (10:36 -0700)]
Set GDB version number to 7.9.1.
gdb/ChangeLog:
* version.in: Set GDB version number to 7.9.1.
GDB Administrator [Wed, 13 May 2015 00:00:23 +0000 (00:00 +0000)]
Automatic date update in version.in
Doug Evans [Tue, 12 May 2015 16:18:06 +0000 (09:18 -0700)]
PR python/18285
gdb/ChangeLog:
PR python/18285
* NEWS: Document new gdb.XMethodWorker.get_result_type method.
* eval.c (evaluate_subexp_standard) <OP_FUNCALL>: Handle
EVAL_AVOID_SIDE_EFFECTS for xmethods.
* extension-priv.h (struct extension_language_ops)
<get_xmethod_result_type>: New member.
* extension.c (get_xmethod_result_type): New function.
* extension.h (get_xmethod_result_type): Declare.
* python/py-xmethods.c (get_result_type_method_name): New static
global.
(py_get_result_type_method_name): Ditto.
(gdbpy_get_xmethod_result_type): New function.
(gdbpy_initialize_xmethods): Initialize py_get_result_type_method_name.
* python/python-internal.h (gdbpy_get_xmethod_result_type): Declare.
* python/python.c (python_extension_ops): Add
gdbpy_get_xmethod_result_type.
* python/lib/gdb/xmethod.py (XMethodWorker): Add get_result_type.
* valarith.c (value_x_binop): Handle EVAL_AVOID_SIDE_EFFECTS for
xmethods.
(value_x_unop): Ditto.
* value.c (result_type_of_xmethod): New function.
* value.h (result_type_of_xmethod): Declare.
gdb/testsuite/ChangeLog:
* gdb.python/py-xmethods.exp: Add ptype tests.
* gdb.python/py-xmethods.py (E_method_char_worker): Add
get_result_type method.
gdb/doc/ChangeLog:
* python.texi (Xmethod API) <gdb.XMethodWorker.get_result_type>:
Document.
(Writing an Xmethod): Add get_result_type to example.
GDB Administrator [Tue, 12 May 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 11 May 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 10 May 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 9 May 2015 00:00:30 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 8 May 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 7 May 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 6 May 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 5 May 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 4 May 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 3 May 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
Pierre Muller [Sat, 2 May 2015 16:21:50 +0000 (18:21 +0200)]
Subject: [PATCH] Fix pascal behavior for class fields with testcase
Problem reported as PR pascal/17815
Part 1/3: Remember the case pattern that allowed finding a field of this.
File gdb/p-exp.y modified
This is the fix in the pascal parser (p-exp.y),
to avoid the error that GDB does find normal variables
case insensitively, but not fields of this,
inside a class or object method.
Part 2/3: Add "class" option for pascal compiler
File gdb/testsuite/lib/pascal.exp
This part of the patch series is unchanged.
It adds class option to pascal compiler
which adds the required command line option to
accept pascal class types.
Part 3/3:
New file: gdb/testsuite/gdb.pascal/case-insensitive-symbols.exp
New file: gdb/testsuite/gdb.pascal/case-insensitive-symbols.pas
Here is an updated version of this test, using Pedro's suggestions.
Test to check that PR 17815 is fixed.
GDB Administrator [Sat, 2 May 2015 00:00:24 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 1 May 2015 00:00:24 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 30 Apr 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
Doug Evans [Wed, 29 Apr 2015 05:43:26 +0000 (22:43 -0700)]
PR python/18299
gdb/ChangeLog:
PR python/18299
* python/lib/gdb/printing.py (register_pretty_printer): Handle
name or __name__ attributes. Handle gdb module as first argument.
gdb/testsuite/ChangeLog:
* gdb.python/py-pp-maint.py: Move "replace" testing to ...
* gdb.python/py-pp-registration.exp: ... here. New file.
* gdb.python/py-pp-registration.c: New file.
* gdb.python/py-pp-registration.py: New file.
GDB Administrator [Wed, 29 Apr 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 28 Apr 2015 00:00:24 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 27 Apr 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 26 Apr 2015 00:00:33 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 25 Apr 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 24 Apr 2015 00:00:24 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 23 Apr 2015 00:00:23 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 22 Apr 2015 00:00:33 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 21 Apr 2015 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 20 Apr 2015 00:00:24 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 19 Apr 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 18 Apr 2015 00:00:28 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 17 Apr 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 16 Apr 2015 00:00:28 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 15 Apr 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 14 Apr 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 13 Apr 2015 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 12 Apr 2015 00:00:24 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 11 Apr 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 10 Apr 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 9 Apr 2015 00:00:30 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 8 Apr 2015 00:00:28 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 7 Apr 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 6 Apr 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 5 Apr 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 4 Apr 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 3 Apr 2015 00:00:23 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 2 Apr 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 1 Apr 2015 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
Matthias Klose [Tue, 31 Mar 2015 13:22:18 +0000 (14:22 +0100)]
Fix the triplet regexp to recognize triplets, not only quadruplets
This allows triplets where the vendor is not set.
gdb/ChangeLog:
2015-03-31 Matthias Klose <doko@ubuntu.com>
* compile/compile.c (compile_to_object): Allow triplets with or
without vendor set.
GDB Administrator [Tue, 31 Mar 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 30 Mar 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 29 Mar 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 28 Mar 2015 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 27 Mar 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 26 Mar 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 25 Mar 2015 00:00:30 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 24 Mar 2015 00:00:49 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 23 Mar 2015 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 22 Mar 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
Eli Zaretskii [Sat, 21 Mar 2015 08:48:34 +0000 (10:48 +0200)]
Fix undefined behavior in TUI's TAB expansion
gdb/ChangeLog:
* tui/tui-io.c (tui_expand_tabs): Reinitialize the column counter
before the second loop, to avoid undefined behavior. Reported by
Anton Blanchard <anton@samba.org>.
(cherry picked from commit
b1a0f704950296b2363192ba91999eef3635700f )
GDB Administrator [Sat, 21 Mar 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 20 Mar 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 19 Mar 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 18 Mar 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 17 Mar 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 16 Mar 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 15 Mar 2015 00:00:24 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 14 Mar 2015 00:00:33 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 13 Mar 2015 00:00:28 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 12 Mar 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 11 Mar 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 10 Mar 2015 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 9 Mar 2015 00:00:32 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 8 Mar 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 7 Mar 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 6 Mar 2015 00:00:35 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 5 Mar 2015 00:00:32 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 4 Mar 2015 00:00:30 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 3 Mar 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 2 Mar 2015 00:00:24 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 1 Mar 2015 00:00:23 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 28 Feb 2015 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 27 Feb 2015 00:00:34 +0000 (00:00 +0000)]
Automatic date update in version.in
Jan Kratochvil [Thu, 26 Feb 2015 10:52:28 +0000 (11:52 +0100)]
Change // comment in gdb/compile/
gdb/ChangeLog
2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
PR build/18033
* compile/compile-c-support.c (c_compute_program): Change // comment.
* compile/compile-object-load.c (setup_sections): Change // comment.
Joel Brobecker [Thu, 26 Feb 2015 09:42:04 +0000 (10:42 +0100)]
Remove // comment in gdb/iq2000-tdep.c
gdb/ChangeLog:
PR build/18033:
* iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
GDB Administrator [Thu, 26 Feb 2015 00:00:25 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 25 Feb 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 24 Feb 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 23 Feb 2015 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 22 Feb 2015 00:00:36 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 21 Feb 2015 00:00:26 +0000 (00:00 +0000)]
Automatic date update in version.in
Joel Brobecker [Fri, 20 Feb 2015 17:24:55 +0000 (21:24 +0400)]
Bump GDB version number to 7.9.0.DATE-cvs.
gdb/ChangeLog:
* version.in: Set GDB version number to 7.9.0.DATE-cvs.
Joel Brobecker [Fri, 20 Feb 2015 17:20:12 +0000 (21:20 +0400)]
Document the GDB 7.9 release in gdb/ChangeLog
gdb/ChangeLog:
GDB 7.9 released.
David Taylor [Thu, 19 Feb 2015 14:53:50 +0000 (18:53 +0400)]
[gdb/ax] small "setv" fix and documentation's adjustment.
gdb/doc/agentexpr.texi documents the "setv" opcode as follow:
@item @code{setv} (0x2d) @var{n}: @result{} @var{v}
Set trace state variable number @var{n} to the value found on the top
of the stack. The stack is unchanged, so that the value is readily
available if the assignment is part of a larger expression. The
handling of @var{n} is as described for @code{getv}.
The @item line is incorrect (and does not match with its
description), so this patch fixes it.
Additionally, in gdb/common/ax.def we find the line:
DEFOP (setv, 2, 0, 0, 1, 0x2d)
From the comment earlier in the file:
Each line is of the form:
DEFOP (name, size, data_size, consumed, produced, opcode)
[...]
CONSUMED is the number of stack elements consumed.
PRODUCED is the number of stack elements produced.
which is saying that nothing is consumed and one item is produced.
Both should be 0 or both should be 1.
This patch sets them both to 1, which seems better since if nothing
is on the stack an error will occur.
gdb/ChangeLog:
* common/ax.def (setv): Fix consumed entry in setv DEFOP.
gdb/doc/ChangeLog:
* agentexpr.texi (Bytecode Descriptions): Fix summary line for setv.
Tested on x86_64-linux.
Andreas Arnez [Wed, 14 Jan 2015 12:01:38 +0000 (12:01 +0000)]
Fix internal error when core file section is too big
As reported in PR 17808, a test case with a forged (invalid) core file
can crash GDB with an assertion failure. In that particular case the
prstatus of an i386 core file looks like that from an AMD64 core file.
Consequently the respective regset supply function i386_supply_gregset
is invoked with a larger buffer than usual. But i386_supply_gregset
asserts a specific buffer size, and this assertion fails.
The patch relaxes all buffer size assertions in regset supply
functions such that they merely check for a sufficiently large buffer.
For consistency the regset collect functions are adjusted as well.
gdb/ChangeLog:
PR corefiles/17808:
* gdbarch.sh (iterate_over_regset_sections_cb): Document this
function type, particularly its SIZE parameter.
* gdbarch.h: Regenerate.
* amd64-tdep.c (amd64_supply_fpregset): In gdb_assert, compare
actual against required size using ">=" instead of "==".
(amd64_collect_fpregset): Likewise.
* i386-tdep.c (i386_supply_gregset): Likewise.
(i386_collect_gregset): Likewise.
(i386_supply_fpregset): Likewise.
(i386_collect_fpregset): Likewise.
* mips-linux-tdep.c (mips_supply_gregset_wrapper): Likewise.
(mips_fill_gregset_wrapper): Likewise.
(mips_supply_fpregset_wrapper): Likewise.
(mips_fill_fpregset_wrapper): Likewise.
(mips64_supply_gregset_wrapper): Likewise.
(mips64_fill_gregset_wrapper): Likewise.
(mips64_supply_fpregset_wrapper): Likewise.
(mips64_fill_fpregset_wrapper): Likewise.
* mn10300-linux-tdep.c (am33_supply_gregset_method): Likewise.
(am33_supply_fpregset_method): Likewise.
(am33_collect_gregset_method): Likewise.
(am33_collect_fpregset_method): Likewise.
GDB Administrator [Fri, 20 Feb 2015 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
Joel Brobecker [Thu, 19 Feb 2015 12:16:34 +0000 (16:16 +0400)]
Fix the gdb version number ("7.9" instead of "str 7.9").
This fixes an obvious error in the previous change to this file.
gdb/ChangeLog:
* version.in: Change to "7.9" instead of "str 7.9".
Joel Brobecker [Thu, 19 Feb 2015 12:03:11 +0000 (16:03 +0400)]
Set GDB version number to str 7.9.
gdb/ChangeLog:
* version.in: Set GDB version number to str 7.9.
Joel Brobecker [Thu, 19 Feb 2015 11:59:43 +0000 (15:59 +0400)]
gdb/NEWS: "Changes since GDB 7.8" -> "Changes in GDB 7.9".
gdb/ChangeLog:
* NEWS: Rewrite "Changes since GDB 7.8" into "Changes in GDB 7.9".