]>
sourceware.org Git - insight.git/log
Patrick Monnerat [Sat, 3 Feb 2024 16:31:11 +0000 (17:31 +0100)]
Upgrade submodule, sync patch and code
- Deprecated_warning_hook has been replaced by a static variable: set it
using a scoped restore.
- Domain flags naming has changed.
Patrick Monnerat [Fri, 26 Jan 2024 12:21:29 +0000 (13:21 +0100)]
Upgrade submodule, adjust code
Function get_gdb_program_name() does not exist anymore: use argv[0].
Andrew Burgess [Tue, 12 Dec 2023 11:15:22 +0000 (11:15 +0000)]
switch away from using specify_exec_file_hook
Stop using specify_exec_file_hook to spot when the executable GDB is
debugging changes, and instead use gdb::observers::executable_changed.
The specify_exec_file_hook would call a function with the name of the
executable as specified by the user, so long as the name of the
executable wasn't empty, e.g.:
(gdb) file exec_name
would call the hook with 'exec_name', while:
(gdb) file
would not call the hook at all.
The observer I'm proposing we switch too is slightly different. The
observer is called with the program_space in which the executable
changed, even in the empty filename case. The observer also receives
a flag which indicates if GDB is loading a new executable, or is
loading the same executable because the on-disk file changed.
To reduce the chance of breakage, within insight, if the new observer
function is called in the empty filename case I don't call into the
TCL code, this ensures the TCL code is only called in the same cases a
previously.
The TCL code will be called with the full path to the executable
rather than the partial string the user specified, however, the TCL
code would (in some cases at least) look up the full executable path
anyway, so I don't think the change should have a negative impact.
For now I'm ignoring the reload_p flag, that is, I call into the TCL
code both when the executable has completely changed, and when it's
the same executable filename, but the on-disk file changed, I think
this matches the behaviour before this patch.
And finally, while looking at the TCL code, I spotted that a comment
in interface.tcl relating to this code was slightly out of date, I've
updated the comment.
Patrick Monnerat [Fri, 19 Jan 2024 15:23:33 +0000 (16:23 +0100)]
Upgrade submodule, sync patches.
Patrick Monnerat [Thu, 11 Jan 2024 15:27:25 +0000 (16:27 +0100)]
Avoid internal recursive error ...
... by implementing gdbtk_file::write_async_safe() writing directly to
stderr.
Also introduce a dirty hack to dump internal error message to stderr.
Patrick Monnerat [Fri, 5 Jan 2024 10:47:54 +0000 (11:47 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 29 Dec 2023 13:31:26 +0000 (14:31 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 22 Dec 2023 11:38:57 +0000 (12:38 +0100)]
Upgrade submodule, sync patch.
Patrick Monnerat [Fri, 15 Dec 2023 12:04:55 +0000 (13:04 +0100)]
Upgrade submodule, sync patch and code.
Patrick Monnerat [Fri, 8 Dec 2023 13:01:03 +0000 (14:01 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 1 Dec 2023 11:33:16 +0000 (12:33 +0100)]
Upgrade submodule, sync patches and code.
GDB has changed to C++17 [[fallthrough]] attributes, so follow it.
Patrick Monnerat [Fri, 24 Nov 2023 23:32:52 +0000 (00:32 +0100)]
Upgrade submodule,sync patches and code.
Patrick Monnerat [Fri, 17 Nov 2023 15:51:13 +0000 (16:51 +0100)]
Upgrade submodule, sync patches.
Patrick Monnerat [Fri, 10 Nov 2023 09:49:16 +0000 (10:49 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 3 Nov 2023 12:41:11 +0000 (13:41 +0100)]
Upgrade submodule, sync patch.
Patrick Monnerat [Fri, 27 Oct 2023 11:41:00 +0000 (13:41 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 20 Oct 2023 10:05:09 +0000 (12:05 +0200)]
Upgrade submodule, sync code.
Patrick Monnerat [Fri, 13 Oct 2023 09:57:53 +0000 (11:57 +0200)]
Upgrade submodule, sync patch and code.
Patrick Monnerat [Fri, 6 Oct 2023 09:41:50 +0000 (11:41 +0200)]
Upgrade submodule, sync patches.
Patrick Monnerat [Fri, 29 Sep 2023 09:25:29 +0000 (11:25 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 22 Sep 2023 06:15:11 +0000 (08:15 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 15 Sep 2023 09:51:11 +0000 (11:51 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 8 Sep 2023 11:13:58 +0000 (13:13 +0200)]
Upgrade submodule, sync patch.
Patrick Monnerat [Fri, 1 Sep 2023 09:34:53 +0000 (11:34 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 25 Aug 2023 10:10:29 +0000 (12:10 +0200)]
Upgrade submodule, sync patch.
Patrick Monnerat [Sat, 19 Aug 2023 07:34:53 +0000 (09:34 +0200)]
Upgrade submodule, sync patches and code
create_breakpoint() function prototype signature has changed.
Patrick Monnerat [Sat, 12 Aug 2023 09:29:26 +0000 (11:29 +0200)]
Upgrade submodule, sync patch.
Patrick Monnerat [Fri, 4 Aug 2023 10:38:27 +0000 (12:38 +0200)]
Upgrade submodule, sync code.
Main thread id must now be initialized early in the main program.
Patrick Monnerat [Fri, 28 Jul 2023 12:24:58 +0000 (14:24 +0200)]
Upgrade submodule, sync patches.
Patrick Monnerat [Fri, 14 Jul 2023 09:00:57 +0000 (11:00 +0200)]
Upgrade submodule.
Patrick Monnerat [Thu, 6 Jul 2023 09:38:50 +0000 (11:38 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 30 Jun 2023 10:12:41 +0000 (12:12 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 23 Jun 2023 06:16:30 +0000 (08:16 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 16 Jun 2023 03:56:02 +0000 (05:56 +0200)]
Upgrade submodule.
Patrick Monnerat [Wed, 7 Jun 2023 15:22:47 +0000 (17:22 +0200)]
Upgrade submodule, sync code
linetable_entry's raw_pc() has been renamed unrelocated_pc().
Patrick Monnerat [Fri, 2 Jun 2023 16:13:14 +0000 (18:13 +0200)]
Upgrade submodule, sync code.
Some observers have been replaced by interpreter virtual methods.
Patrick Monnerat [Fri, 26 May 2023 23:56:16 +0000 (01:56 +0200)]
Upgrade submodule, sync patches and code.
Breakpoint storage access has changed: adapt.
Patrick Monnerat [Fri, 19 May 2023 10:05:06 +0000 (12:05 +0200)]
Upgrade submodule, sync patch
Patrick Monnerat [Fri, 12 May 2023 11:30:12 +0000 (13:30 +0200)]
Upgrade submodule, sync patches.
Patrick Monnerat [Sat, 6 May 2023 15:32:31 +0000 (17:32 +0200)]
Fix initial source display for Cygwin.
The Cygwin libray program entry point source file name has changed:
modify the current hack to check for old and new names in determining
if the main program should be displayed.
Patrick Monnerat [Sat, 6 May 2023 15:08:37 +0000 (17:08 +0200)]
Revert "Better fix for initial source display"
This reverts commit
3be6b2273e1ea730f77df64fb1bc3e443ec96ec5 .
Although improving the cygwin port, this commit introduced a
regression: core file debugging was not possible anymore.
Reported-By: Kyeong Yoo <Kyeong.Yoo@alliedtelesis.co.nz>
Patrick Monnerat [Fri, 5 May 2023 11:47:42 +0000 (13:47 +0200)]
Upgrade submodule, sync patch and code.
- evaluate_expression() has be tuned into a method.
- new overloaded method set_args() requires argument disambiguaton.
- ui declarations are now in their own header file.
Patrick Monnerat [Fri, 28 Apr 2023 10:50:36 +0000 (12:50 +0200)]
srcwin: make sure window is not hidden after creation
Reported by Zoltán Vajda <vzvzvz2@gmail.com>
Patrick Monnerat [Fri, 28 Apr 2023 09:10:15 +0000 (11:10 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 21 Apr 2023 22:50:57 +0000 (00:50 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 14 Apr 2023 10:14:49 +0000 (12:14 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 7 Apr 2023 17:36:53 +0000 (19:36 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 31 Mar 2023 12:14:43 +0000 (14:14 +0200)]
Upgrade submodule
Zoltan Vajda [Wed, 22 Mar 2023 12:05:56 +0000 (13:05 +0100)]
Fix crash when switch threads
stop_pc is now an optional value and is not set when its inferior is
running. Its availability is therefore checked before getting it.
Patrick Monnerat [Wed, 22 Mar 2023 11:51:00 +0000 (12:51 +0100)]
Upgrade submodule, adjust code.
raw_pc() is now an unrelocated_addr.
Patrick Monnerat [Fri, 17 Mar 2023 11:42:18 +0000 (12:42 +0100)]
Upgrade submodule, adapt code.
- gdb line tables have been constified.
- line tables' pc field replaced by methods raw_pc() (unrelocated) and
pc(objfile) (relocated).
Patrick Monnerat [Fri, 10 Mar 2023 11:08:31 +0000 (12:08 +0100)]
Upgrade submodule, sync patch.
Patrick Monnerat [Fri, 3 Mar 2023 11:59:25 +0000 (12:59 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 24 Feb 2023 06:45:40 +0000 (07:45 +0100)]
Upgrade submodule, sync patches and code.
The ALL_BLOCK_SYMBOLS macro has been removed: replace its uses by for
loops.
Patrick Monnerat [Fri, 17 Feb 2023 23:55:32 +0000 (00:55 +0100)]
Upgrade submodule, sync patches and code.
Gdb's value_*() functions have been turned to methods.
Patrick Monnerat [Fri, 10 Feb 2023 13:50:55 +0000 (14:50 +0100)]
Upgrade submodule, sync code.
interp::exec() signature has changed.
Patrick Monnerat [Thu, 2 Feb 2023 17:01:43 +0000 (18:01 +0100)]
Upgrade submodule, sync patches.
Patrick Monnerat [Thu, 26 Jan 2023 15:38:28 +0000 (16:38 +0100)]
Upgrade submodule, sync patches and code.
Header file language.h is no longer included from frame.h: use direct include.
Patrick Monnerat [Fri, 20 Jan 2023 10:58:43 +0000 (11:58 +0100)]
Upgrade submodule, sync patch.
Patrick Monnerat [Fri, 13 Jan 2023 13:15:57 +0000 (14:15 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 6 Jan 2023 16:13:10 +0000 (17:13 +0100)]
Upgrade submodule, sync patches.
Patrick Monnerat [Sat, 31 Dec 2022 01:15:45 +0000 (02:15 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 23 Dec 2022 12:42:40 +0000 (13:42 +0100)]
Upgrade submodule, sync patches.
Patrick Monnerat [Fri, 16 Dec 2022 11:12:23 +0000 (12:12 +0100)]
Upgrade submodule, sync patches and code.
Windows process interrupt control has changed in gdb: rewrite the
windows-stop patch for it.
Patrick Monnerat [Fri, 9 Dec 2022 10:49:10 +0000 (11:49 +0100)]
Upgrade submodule
Patrick Monnerat [Fri, 2 Dec 2022 11:28:58 +0000 (12:28 +0100)]
Upgrade submodule, sync patch.
Patrick Monnerat [Fri, 2 Dec 2022 11:20:15 +0000 (12:20 +0100)]
interpreteer_p is now a std::string
Fix up cygwin code handling it as a char pointer and in the wrong logic.
Use gdb symbolic constant for interpreter name.
Patrick Monnerat [Mon, 28 Nov 2022 14:21:12 +0000 (15:21 +0100)]
libgui: define autoheader templates in configure.ac
Patrick Monnerat [Fri, 25 Nov 2022 15:59:11 +0000 (16:59 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 25 Nov 2022 15:52:33 +0000 (16:52 +0100)]
configure: use autoreconf for subdirectories reconfiguration
Disable libtool updates as it introduce too many version mismatch
problems.
Patrick Monnerat [Fri, 25 Nov 2022 15:39:57 +0000 (16:39 +0100)]
testsuite: modernize configure script.
Replace deprecated use of macros by equivalent sequences.
Patrick Monnerat [Fri, 25 Nov 2022 15:29:14 +0000 (16:29 +0100)]
libgui: modernize autotools scripts.
Replace deprecated use of macros and symbols by equivalent sequences.
Patrick Monnerat [Fri, 25 Nov 2022 12:04:52 +0000 (13:04 +0100)]
gdbtk: modernize configure scripts.
Replace deprecated use of macros by equivalent sequences.
Patrick Monnerat [Fri, 25 Nov 2022 11:18:47 +0000 (12:18 +0100)]
configure: remove use of obsolete macro AC_CANONICAL_SYSTEM.
Replace by AC_CANONICAL_TARGET.
Patrick Monnerat [Fri, 25 Nov 2022 11:14:51 +0000 (12:14 +0100)]
tests configure: use a relative path in AC_CONFIG_AUX_DIR
Patrick Monnerat [Fri, 25 Nov 2022 11:09:01 +0000 (12:09 +0100)]
Upgrade submodule.
Patrick Monnerat [Fri, 18 Nov 2022 15:14:02 +0000 (16:14 +0100)]
Upgrade submodule, sync patches.
Patrick Monnerat [Tue, 15 Nov 2022 02:03:01 +0000 (03:03 +0100)]
Check variables while printing
The local variable window frame does not remove inner blocks' variables
when leaving the inner block scope, resulting in trying to display
variables that do not exist anymore, currently causing a segmentation
fault.
Use the checked value printing function to avoid this, resulting in having
these "ghost" variable values displayed as "address of value unknown".
Patrick Monnerat [Fri, 11 Nov 2022 05:39:51 +0000 (06:39 +0100)]
Upgrade submodule, sync patches and code
Debuginfod download progress bar interface has changed.
Patrick Monnerat [Fri, 4 Nov 2022 12:57:32 +0000 (13:57 +0100)]
Upgrade submodule, sync patch
Patrick Monnerat [Fri, 28 Oct 2022 11:33:29 +0000 (13:33 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 21 Oct 2022 11:41:09 +0000 (13:41 +0200)]
source window: disable breakpoint control region on function prolog lines
Setting a breakpoint on a function prolog line effectively sets it on
the first executable source statement of the function. If such a prolog
line offers breakpoint control, clicking the latter installs the breakpoint
on another line and reclicking adds another one to the same other line, etc.
To avoid this behavior, this commit disables the breakpoint control region
for lines that are in function prologs.
Patrick Monnerat [Fri, 21 Oct 2022 11:32:15 +0000 (13:32 +0200)]
Upgrade submodule, sync patch
Patrick Monnerat [Thu, 20 Oct 2022 13:16:45 +0000 (15:16 +0200)]
gdb_loadfile: use a std::vector<bool> for line flags table.
Patrick Monnerat [Thu, 20 Oct 2022 11:43:39 +0000 (13:43 +0200)]
Upgrade submodule, sync patch
Patrick Monnerat [Fri, 14 Oct 2022 11:45:44 +0000 (13:45 +0200)]
Upgrade submodule, sync patches and code.
gdb's struct frame_info * has been replaced by class frame_info_ptr.
Patrick Monnerat [Fri, 7 Oct 2022 13:23:01 +0000 (15:23 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 30 Sep 2022 10:18:29 +0000 (12:18 +0200)]
Upgrade submodule, sync patches.
Patrick Monnerat [Fri, 23 Sep 2022 10:22:58 +0000 (12:22 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 16 Sep 2022 09:53:58 +0000 (11:53 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 9 Sep 2022 11:26:18 +0000 (13:26 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 2 Sep 2022 10:04:52 +0000 (12:04 +0200)]
Upgrade submodule, sync patches.
Patrick Monnerat [Fri, 26 Aug 2022 10:58:17 +0000 (12:58 +0200)]
Upgrade submodule, sync patch.
Patrick Monnerat [Thu, 18 Aug 2022 10:35:26 +0000 (12:35 +0200)]
Upgrade submodule, sync patches.
Patch "Add-a-timeout-parameter-to-gdb_do_one_event" has been committed
to gdb upstream: deleted.
Patrick Monnerat [Fri, 12 Aug 2022 09:22:34 +0000 (11:22 +0200)]
Upgrade submodule, sync patch.
Patrick Monnerat [Fri, 5 Aug 2022 09:08:59 +0000 (11:08 +0200)]
Upgrade submodule, adjust code to last gdb changes.
objfile.obfd is now a gdb_bfd_ref_ptr.
Patrick Monnerat [Fri, 29 Jul 2022 10:16:03 +0000 (12:16 +0200)]
Upgrade submodule, sync patches
Patrick Monnerat [Fri, 22 Jul 2022 09:31:14 +0000 (11:31 +0200)]
Upgrade submodule, sync patches
Patrick Monnerat [Fri, 15 Jul 2022 10:41:43 +0000 (12:41 +0200)]
Upgrade submodule.
Patrick Monnerat [Fri, 8 Jul 2022 12:38:54 +0000 (14:38 +0200)]
Upgrade submodule
and disable gprofng in README configure example.
This page took 0.06121 seconds and 5 git commands to generate.