]> sourceware.org Git - insight.git/log
insight.git
2 years agoReplace uses of xstr[v]printf by string_[v]printf
Patrick Monnerat [Thu, 9 Dec 2021 17:11:38 +0000 (18:11 +0100)]
Replace uses of xstr[v]printf by string_[v]printf

2 years agoUpgrade submodule, sync patch
Patrick Monnerat [Thu, 9 Dec 2021 16:08:32 +0000 (17:08 +0100)]
Upgrade submodule, sync patch

2 years agoReplace gdb_do_one_event timeout patch with a gdb compliant one.
Patrick Monnerat [Sat, 4 Dec 2021 10:14:44 +0000 (11:14 +0100)]
Replace gdb_do_one_event timeout patch with a gdb compliant one.

Sync another patch.

2 years agoSplit target_wait observer into pre_wait and post_wait observers.
Patrick Monnerat [Sat, 4 Dec 2021 09:48:44 +0000 (10:48 +0100)]
Split target_wait observer into pre_wait and post_wait observers.

Replace corresponding gdb patch.

2 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Thu, 2 Dec 2021 19:43:26 +0000 (20:43 +0100)]
Upgrade submodule, sync patches.

2 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 26 Nov 2021 08:45:23 +0000 (09:45 +0100)]
Upgrade submodule, sync patches.

2 years agoResequence gdb patches.
Patrick Monnerat [Sat, 20 Nov 2021 00:16:00 +0000 (01:16 +0100)]
Resequence gdb patches.

2 years agoMerge config/tcl.m4 patches.
Patrick Monnerat [Sat, 20 Nov 2021 00:08:15 +0000 (01:08 +0100)]
Merge config/tcl.m4 patches.

2 years agoMerge patches dealing with gdbtk object files and linking.
Patrick Monnerat [Fri, 19 Nov 2021 18:56:51 +0000 (19:56 +0100)]
Merge patches dealing with gdbtk object files and linking.

2 years agoDisable debuginfod.
Patrick Monnerat [Fri, 19 Nov 2021 18:34:49 +0000 (19:34 +0100)]
Disable debuginfod.

Not yet properly supported by the GUI interface.

2 years agoUpgrade submodule, sync patches and code.
Patrick Monnerat [Fri, 19 Nov 2021 18:09:32 +0000 (19:09 +0100)]
Upgrade submodule, sync patches and code.

xstrprintf() and xstrvprintf() now return a gdb::unique_xmalloc_ptr<char>.

2 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Tue, 16 Nov 2021 17:02:03 +0000 (18:02 +0100)]
Upgrade submodule, sync patches.

2 years agoBetter fix for initial source display
Patrick Monnerat [Wed, 10 Nov 2021 14:05:35 +0000 (15:05 +0100)]
Better fix for initial source display

This properly fixes displaying 'main' upon insight startup and removes
the cygwin hack.

The reasons for the problem are:
- deprecated_file_changed_hook is not invoked anymore upon initial
executable file loading.
- Update events can be generated by gdb even if the target is not running.

3 years agoUpgrade submodule.
Patrick Monnerat [Thu, 4 Nov 2021 23:55:36 +0000 (00:55 +0100)]
Upgrade submodule.

3 years agoUpgrade submodule, sync patches
Patrick Monnerat [Tue, 2 Nov 2021 17:45:16 +0000 (18:45 +0100)]
Upgrade submodule, sync patches

3 years agoUpgrade submodule, sync patch and code
Patrick Monnerat [Thu, 28 Oct 2021 18:21:08 +0000 (20:21 +0200)]
Upgrade submodule, sync patch and code

Functions value_contents_* now return a gdb::array_view.

3 years agoexec_bfd is not a macro anymore
Patrick Monnerat [Thu, 28 Oct 2021 16:47:24 +0000 (18:47 +0200)]
exec_bfd is not a macro anymore

It has been replaced by a program_space accessor with the same name.

3 years ago--with-libunwind is deprecated
Patrick Monnerat [Thu, 28 Oct 2021 14:29:44 +0000 (16:29 +0200)]
--with-libunwind is deprecated

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Sat, 23 Oct 2021 02:22:36 +0000 (04:22 +0200)]
Upgrade submodule, sync patches.

3 years agoRebuild tclIndexes
Patrick Monnerat [Fri, 22 Oct 2021 17:24:08 +0000 (19:24 +0200)]
Rebuild tclIndexes

3 years agoWorkaround an auto_mkindex bug
Patrick Monnerat [Fri, 22 Oct 2021 16:51:03 +0000 (18:51 +0200)]
Workaround an auto_mkindex bug

Tcl auto_mkindex do indexes "public proc" declarations within classes.
As this command processes source files in alphabetic order, xxx.ith
comes after xxx.ith, resulting in a loss of the correct proc index by
overwriting the latter.

This tcl bug prevents rebuilding tclIndex properly.

As a workaround, declare such procedures inside a public block: they
wont be indexed.

3 years agoImplement windows_nat_target::stop
Patrick Monnerat [Fri, 22 Oct 2021 13:52:11 +0000 (15:52 +0200)]
Implement windows_nat_target::stop

New gdb patch windows-stop.patch does it.

This is needed to properly handle the stop button: without this patch,
the button is inoperant.

3 years agoset_execution status: avoid translating a non-existent address
Patrick Monnerat [Fri, 22 Oct 2021 11:04:13 +0000 (13:04 +0200)]
set_execution status: avoid translating a non-existent address

In some cases due to event handling order randomness, set_execution_status
may be called when target_has_execution() returns true although the target
thread has already terminated. When this occurs, the program counter is
unknown. Avoid translating it.

3 years agoUpgrade submodule, sync patch and code.
Patrick Monnerat [Fri, 22 Oct 2021 00:32:48 +0000 (02:32 +0200)]
Upgrade submodule, sync patch and code.

Some class member fields' type has changed from "char *" to
"gdb::unique_xmalloc_ptr<char>" in struct breakpoint and struct
watchpoint. Use get() method on them for referencing data.

3 years agoRework itcl autoloading
Patrick Monnerat [Fri, 22 Oct 2021 00:00:35 +0000 (02:00 +0200)]
Rework itcl autoloading

Around version 4.0, Itcl stopped autoloading class methods. It however
still autoloads class constructors, providing they are implemented as
methods.
A solution would then consist in systematically declare constructors as
methods and implement them in the same file as all the other class
methods: as the constructor is always the first used class method, all
others will be already loaded when used.
This cannot be applied if a class constructor has an initialization
part: in that case, explicitly load the implementation file at the end
of the file declaring the class.

3 years agoFix startup source window display on cygwin.
Patrick Monnerat [Tue, 19 Oct 2021 16:34:55 +0000 (18:34 +0200)]
Fix startup source window display on cygwin.

Cygwin provides a file name for the target program startup code (crt0.c),
letting to chance to display main function by default before starting the
debugging.
As a dirty hack, consider file basename set to "crt0" as if it was unset.

3 years agoMore cygwin32-->cygwin conditionals updates
Patrick Monnerat [Sun, 17 Oct 2021 10:45:50 +0000 (12:45 +0200)]
More cygwin32-->cygwin conditionals updates

3 years agoUpgrade submodule.
Patrick Monnerat [Fri, 15 Oct 2021 09:05:01 +0000 (11:05 +0200)]
Upgrade submodule.

3 years agoReplace obsolete cygwin path conversion code
Patrick Monnerat [Thu, 14 Oct 2021 17:53:36 +0000 (19:53 +0200)]
Replace obsolete cygwin path conversion code

Functions cygwin32_* have been obsoleted and even not available in
cygwin64.

Rewrite cyggwin specific command handlers to use the replacement API.

3 years agoFix gdb patch for cygwin compatibility
Patrick Monnerat [Wed, 13 Oct 2021 18:35:28 +0000 (20:35 +0200)]
Fix gdb patch for cygwin compatibility

gdbres.o has no C++ source.

3 years agoImprove cygwin compatibility
Patrick Monnerat [Wed, 13 Oct 2021 16:19:12 +0000 (18:19 +0200)]
Improve cygwin compatibility

POLLRDHUP is not defined on cygwin.
Use __CYGWIN__ definition conditional test instead of __CYGWIN32__.

3 years agoUpgrade submodule, sync patch and code.
Patrick Monnerat [Fri, 8 Oct 2021 13:36:34 +0000 (15:36 +0200)]
Upgrade submodule, sync patch and code.

Function get_prompt in gdb now returns an std::string: use c_str() on
it.
Variable source_path of gdb is not a character pointer anymore, but an
std::string, so it is not possible to access it directly from a Tcl
variable. Tcl variable has thus been replaced with a getter function with
the same name.

3 years agoUpgrade submodule, sync patches and code.
Patrick Monnerat [Fri, 1 Oct 2021 09:21:04 +0000 (11:21 +0200)]
Upgrade submodule, sync patches and code.

Macro FIELD_NAME has been removed: use field::name() instead.

3 years agoUpgrade submodule.
Patrick Monnerat [Fri, 24 Sep 2021 09:16:50 +0000 (11:16 +0200)]
Upgrade submodule.

3 years agoUpgrade submodule.
Patrick Monnerat [Fri, 17 Sep 2021 10:49:38 +0000 (12:49 +0200)]
Upgrade submodule.

3 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Fri, 10 Sep 2021 10:12:27 +0000 (12:12 +0200)]
Upgrade submodule, sync patch.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 3 Sep 2021 10:55:29 +0000 (12:55 +0200)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule.
Patrick Monnerat [Fri, 27 Aug 2021 09:46:40 +0000 (11:46 +0200)]
Upgrade submodule.

3 years agoUpgrade submodule, remove applied patch
Patrick Monnerat [Fri, 20 Aug 2021 11:09:48 +0000 (13:09 +0200)]
Upgrade submodule, remove applied patch

Patch "notify-enable-count-autodisable" has now been applied to gdb by
commit bd7ccaa.

3 years agoUpgrade submodule, sync patches
Patrick Monnerat [Thu, 12 Aug 2021 23:04:05 +0000 (01:04 +0200)]
Upgrade submodule, sync patches

3 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Fri, 6 Aug 2021 11:50:07 +0000 (13:50 +0200)]
Upgrade submodule, sync patch.

3 years agoUpgrade submodule, sync code.
Patrick Monnerat [Thu, 29 Jul 2021 18:00:59 +0000 (20:00 +0200)]
Upgrade submodule, sync code.

Functions get_inferior_args() and set_inferior_args(const char *) in gdb
have been replaced by inferior methods args and set_args(std::string).
Command callback function const_cfunc has been renamed into simple_func.
Command func signature has changed.

* gdbtk/generic/gdbtk-cmds.c (gdb_get_inferior_args): Use inferior
  method args().
  (gdb_set_inferior_args): Use inferior method set_args().
* gdbtk/generic/gdbtk-interp.c (gdbtk_do_const_cfunc): Renamed
  gdbtk_do_simple_func().
  Change function signature.
  Calls new callback name (simple_func).
  (gdbtk_interp::init): Use new names.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 23 Jul 2021 10:49:19 +0000 (12:49 +0200)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule, sync patches and code.
Patrick Monnerat [Fri, 16 Jul 2021 10:42:03 +0000 (12:42 +0200)]
Upgrade submodule, sync patches and code.

Gdb threads suspend member has been made private and accessible via methods.

* gdbtk/generic/gdbtk-cmds.c (gdb_loc): use thread suspend accessor.
* gdbtk/generic/gdbtk-hooks.c (gdbtk_annotate_signal): use thread
  suspend accessor.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 9 Jul 2021 11:47:46 +0000 (13:47 +0200)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule, sync patch
Patrick Monnerat [Thu, 1 Jul 2021 11:29:15 +0000 (13:29 +0200)]
Upgrade submodule, sync patch

3 years agoRemove unused gdb function wrappers.
Patrick Monnerat [Thu, 1 Jul 2021 11:20:09 +0000 (13:20 +0200)]
Remove unused gdb function wrappers.

* gdbtk/generic/gdbtk-wrapper.[ch] (GDB_block_for_pc): removed.
  (GDB_block_innermost_frame): removed.
  (GDB_evaluate_expression): removed.
  (GDB_evaluate_type): removed.
  (GDB_get_frame_block): removed.
  (GDB_reinit_frame_cache): removed.
  (GDB_type_print): removed.
  (GDB_value_cast): removed.
  (GDB_value_coerce_array): removed.
  (GDB_value_equal): removed.
  (GDB_value_fetch_lazy): removed.
  (GDB_value_ind): removed.
  (GDB_value_slice): removed.
  (GDB_value_struct_elt): removed.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 25 Jun 2021 09:32:14 +0000 (11:32 +0200)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 18 Jun 2021 09:52:30 +0000 (11:52 +0200)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule, sync patches
Patrick Monnerat [Fri, 11 Jun 2021 10:32:11 +0000 (12:32 +0200)]
Upgrade submodule, sync patches

3 years agoUpgrade submodule, sync patches
Patrick Monnerat [Fri, 4 Jun 2021 09:32:45 +0000 (11:32 +0200)]
Upgrade submodule, sync patches

3 years agoUpgrade submodule, sync patches and code
Patrick Monnerat [Fri, 28 May 2021 10:25:10 +0000 (12:25 +0200)]
Upgrade submodule, sync patches and code

Function iterate_over_breakpoints does not exist anymore in gdb.
Function all_tracepoints now returns a tracepoint_range iterator.

* gdbtk/generic/gdbtk-bp.c (gdb_find_bp_at_addr): Use
  all_breakpoints_safe.
  (gdb_find_bp_at_line): Likewise.
  (get_point_list): Likewise.
  (gdbtk_delete_all_breakpoints): Likewise.
  (tracepoint_exists): Use iterator instead of vector.

3 years agoUpgrade submodule, sync patches
Patrick Monnerat [Fri, 21 May 2021 11:38:45 +0000 (13:38 +0200)]
Upgrade submodule, sync patches

3 years agoUpgrade submodule, sync patch
Patrick Monnerat [Fri, 14 May 2021 10:59:04 +0000 (12:59 +0200)]
Upgrade submodule, sync patch

3 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Fri, 7 May 2021 09:05:22 +0000 (11:05 +0200)]
Upgrade submodule, sync patch.

3 years agoUpgrade submodule
Patrick Monnerat [Fri, 30 Apr 2021 10:21:47 +0000 (12:21 +0200)]
Upgrade submodule

3 years agoUpgrade submodule, sync code.
Patrick Monnerat [Sun, 25 Apr 2021 13:18:27 +0000 (15:18 +0200)]
Upgrade submodule, sync code.

Observers have names.

* gdbtk/generic/gdbtk-hooks.c (gdbtk_add_hooks): give a name to
  observers.

3 years agoUpgrade submodule, sync patches and code.
Patrick Monnerat [Fri, 23 Apr 2021 09:37:58 +0000 (11:37 +0200)]
Upgrade submodule, sync patches and code.

Function create_breakpoint as a new additional parameter.

* gdbtk/generic/gdbtk-bp.c (gdb_set_bp): add create_breakpoint new
  parameter.

3 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Fri, 16 Apr 2021 09:56:15 +0000 (11:56 +0200)]
Upgrade submodule, sync patch.

3 years agoFix stop button response
Patrick Monnerat [Sat, 10 Apr 2021 00:09:26 +0000 (02:09 +0200)]
Fix stop button response

Two fixes are needed:
- The merge of gdb and Tcl event loops via a notifier blocked the
  handling of Tcl events while waiting for the running target to stop.
- Updates to gdb introduced the need to disable commit_resumed state
  for the target while stopping it.

* gdbtk/generic/gdbtk-cmds.c (gdb_stop): temporary disable
  commit_resumed while stopping target.
* gdbtk/generic/gdbtk-hooks.c (gdbtk_call_command): allow reentering
  Tcl for event processing.
* gdbtk/generic/gdbtk.[ch] (gdbtk_reenter_tcl): new procedure.

3 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Fri, 9 Apr 2021 00:37:10 +0000 (02:37 +0200)]
Upgrade submodule, sync patch.

3 years agoReplace deprecated_target_wait_hook by observer waiting_for_target
Patrick Monnerat [Fri, 9 Apr 2021 00:20:42 +0000 (02:20 +0200)]
Replace deprecated_target_wait_hook by observer waiting_for_target

* patches/binutils-gdb/012-target_wait_flags.patch: deleted.
* patches/binutils-gdb/011-target_wait_observer.patch: gdb patch
  implementing the new observer.
* gdbtk/generic/gdbtk-hooks.c (gdbtk_wait): delete.
  (gdbtk_add_hooks): attach new observer.
  (gdbtk_waiting_for_target): new observer procedure.

3 years agoUpgrade submodule, sync patch and code.
Patrick Monnerat [Fri, 2 Apr 2021 11:39:17 +0000 (13:39 +0200)]
Upgrade submodule, sync patch and code.

Gdb function map_symbol_filenames arguments changed.

* gdbtk/generic/gdbtk-cmds.c (struct listfiles_info): add operator().
  (do_listfiles): remove.
  (gdb_listfiles): change arguments to map_symbol_filenames.

3 years agoUpgrade submodule, sync patches and code.
Patrick Monnerat [Fri, 26 Mar 2021 07:57:35 +0000 (08:57 +0100)]
Upgrade submodule, sync patches and code.

Function current_top_target() is gone.

Rename static function fromhex() to hexdigit(), avoiding name clash.

* gdbtk/generic/gdbtk-cmds.c (gdb_entry_point): use current_inferior.
  (gdb_update_mem): likewise.
  (fromhex): renamed to hexdigit.
  (hex2bin): use hexdigit.
* gdbtk/generic/gdbtk.c (gdbtk_start_timer): use current_inferior.

3 years agoUpgrade submodule, sync patch
Patrick Monnerat [Fri, 19 Mar 2021 10:57:02 +0000 (11:57 +0100)]
Upgrade submodule, sync patch

3 years agoUpgrade submodule, sync patches
Patrick Monnerat [Fri, 12 Mar 2021 15:02:30 +0000 (16:02 +0100)]
Upgrade submodule, sync patches

3 years agoUpgrade submodule.
Patrick Monnerat [Fri, 5 Mar 2021 08:23:21 +0000 (09:23 +0100)]
Upgrade submodule.

3 years agoUpdate submodule.
Patrick Monnerat [Fri, 26 Feb 2021 12:10:46 +0000 (13:10 +0100)]
Update submodule.

3 years agoUpgrade submodule, remove obsolete gdb patch "m4-relative-include".
Patrick Monnerat [Fri, 19 Feb 2021 09:30:46 +0000 (10:30 +0100)]
Upgrade submodule, remove obsolete gdb patch "m4-relative-include".

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 12 Feb 2021 11:16:59 +0000 (12:16 +0100)]
Upgrade submodule, sync patches.

3 years agoUpdate submodule, sync patch and code.
Patrick Monnerat [Fri, 5 Feb 2021 12:43:05 +0000 (13:43 +0100)]
Update submodule, sync patch and code.

Gdb async event handlers have now to clear themselves.

* gdbtk/generic/gdbtk.c (gdbtk_notifier_schedule_proc): unmark own handler.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 29 Jan 2021 00:12:46 +0000 (01:12 +0100)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule.
Patrick Monnerat [Fri, 22 Jan 2021 11:35:05 +0000 (12:35 +0100)]
Upgrade submodule.

3 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Fri, 15 Jan 2021 11:49:01 +0000 (12:49 +0100)]
Upgrade submodule, sync patch.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Sun, 10 Jan 2021 23:18:37 +0000 (00:18 +0100)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 25 Dec 2020 05:14:59 +0000 (06:14 +0100)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule.
Patrick Monnerat [Tue, 15 Dec 2020 13:06:09 +0000 (14:06 +0100)]
Upgrade submodule.

3 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Sun, 13 Dec 2020 14:38:11 +0000 (15:38 +0100)]
Upgrade submodule, sync patch.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Sat, 5 Dec 2020 16:04:01 +0000 (17:04 +0100)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule.
Patrick Monnerat [Fri, 4 Dec 2020 13:07:24 +0000 (14:07 +0100)]
Upgrade submodule.

3 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 20 Nov 2020 08:47:36 +0000 (09:47 +0100)]
Upgrade submodule, sync patches.

3 years agoUpgrade submodule.
Patrick Monnerat [Sat, 14 Nov 2020 00:12:19 +0000 (01:12 +0100)]
Upgrade submodule.

4 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Thu, 5 Nov 2020 01:10:01 +0000 (02:10 +0100)]
Upgrade submodule, sync patches.

4 years agoUpgrade submodule, sync patches and code.
Patrick Monnerat [Fri, 30 Oct 2020 14:28:00 +0000 (15:28 +0100)]
Upgrade submodule, sync patches and code.

exec_close() and exec_bfd are now methods of program_space objects.
Function get_selected_frame_if_set() has been removed.

* gdbtk/generic/gdbtk-cmds.c (gdb_clear_file): use exec_close() method.
  (gdb_loadfile): use exec_bfd() method.
* gdbtk/generic/gdbtk-stack.c (gdb_selected_frame_level):
  use get_selected_frame().

4 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Sun, 25 Oct 2020 12:07:15 +0000 (13:07 +0100)]
Upgrade submodule, sync patch.

4 years agoUpgrade submodule, sync patch.
Patrick Monnerat [Fri, 16 Oct 2020 12:27:38 +0000 (14:27 +0200)]
Upgrade submodule, sync patch.

4 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 9 Oct 2020 16:07:18 +0000 (18:07 +0200)]
Upgrade submodule, sync patches.

4 years agoUpgrade submodule, sync patches and code.
Patrick Monnerat [Wed, 7 Oct 2020 13:44:57 +0000 (15:44 +0200)]
Upgrade submodule, sync patches and code.

Asynchronous event handlers and file handlers now have names: provide
them when creating such handlers.

* gdbtk/generic/gdbtk.c (gdbtk_notifier_create_file_handler): provide
  file handler name.
  (gdbtk_notifier_initialize): provide asynchronous event handler name.

4 years agoUpgrade submodule, sync code.
Patrick Monnerat [Fri, 2 Oct 2020 04:26:38 +0000 (06:26 +0200)]
Upgrade submodule, sync code.

Parameterless macros target_has_registers, target_has_stack and
target_has_execution have been replaced by functions with same names.

* gdbtk/generic/gdbtk-cmds.c (gdb_clear_file): use target_has_execution ().
  (gdb_target_has_execution_command): likewise.
  (gdb_loc): use target_has_registers () and target_has_execution ().
* gdbtk/generic/gdbtk-register.c (gdbtk_reg_buffer::changed_p): use
  target_has_registers ().
  (get_register): likewise.
* gdbtk/generic/gdbtk-stack.c (gdb_block_vars): use target_has_registers ().
  (gdb_get_blocks): likewise.
  (gdb_get_vars_command): likewise.
  (gdb_selected_block): likewise.
  (gdb_selected_frame): likewise.
  (gdb_stack): use target_has_stack ().

4 years agoUpgrade submodule, sync patches and code + new gdb patch
Patrick Monnerat [Fri, 25 Sep 2020 16:18:31 +0000 (18:18 +0200)]
Upgrade submodule, sync patches and code + new gdb patch

Options of gdb function target_wait() are now passed as a target_wait_flags
object instead of an integer. Handling and definition of
deprecated_target_wait_hook have not been adapted accordingly (probably
because of a problematic file inclusion needed in gdb/defs.h.

The solution implemented here is to pass the object address as a void pointer
and getting the object via a pointer cast in insight's own code.

* gdbtk/generic/gdbtk-hooks.c (gdbtk_wait): options are now received as a void*.

* patches/binutils-gdb/012-target_wait_flags.patch: new gdb patch implementing
  the deprecated_target_wait_hook signature described above.

4 years agoUpgrade submodule, sync patches. Add a new gdb patch.
Patrick Monnerat [Wed, 16 Sep 2020 17:02:48 +0000 (19:02 +0200)]
Upgrade submodule, sync patches. Add a new gdb patch.

As insight installs additional subdirectories levels into the gdb tree,
new m4 file inclusion fails for these cases. Fix this problem by using an m4
search include.

* patches/binutils-gdb/011-m4-relative-include.patch: new patch.

4 years agoRename libgui tcl "debug" file, package, namespace and help to "debugger".
Patrick Monnerat [Fri, 24 Jul 2020 12:05:39 +0000 (14:05 +0200)]
Rename libgui tcl "debug" file, package, namespace and help to "debugger".

The introduction of a debug package in tcllib causes a clash with our
(older) definition. This renaming allows to run insight even if tcllib is
installed.

* gdbtk/library/debugwin.itb: rename namespace.
  (DebugWin::build_win): update link to help file.
* gdbtk/library/help/debug.html: renamed as gdbtk/library/help/debugger.html
  rename namespace.
* gdbtk/library/help/index.html: link to renamed file. Fix a typo.
* gdbtk/library/main.tcl: rename package and namespace.
* libgui/library/Makefile.am: rename tcl file.
* libgui/library/debug.tcl: renamed as libgui/library/debugger.tcl
  rename package and namespace.
* libgui/library/pkgIndex.tcl: rename package and file.
* libgui/library/tclIndex: rename namespace and file.

4 years agoUpgrade submodule.
Patrick Monnerat [Fri, 24 Jul 2020 11:44:09 +0000 (13:44 +0200)]
Upgrade submodule.

4 years agoUpgrade submodule.
Patrick Monnerat [Fri, 17 Jul 2020 09:28:21 +0000 (11:28 +0200)]
Upgrade submodule.

4 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 10 Jul 2020 09:18:15 +0000 (11:18 +0200)]
Upgrade submodule, sync patches.

4 years agoUpgrade submodule, sync patches.
Patrick Monnerat [Fri, 3 Jul 2020 09:34:28 +0000 (11:34 +0200)]
Upgrade submodule, sync patches.

4 years agoUpgrade submodule.
Patrick Monnerat [Fri, 26 Jun 2020 08:18:12 +0000 (10:18 +0200)]
Upgrade submodule.

4 years agoUpgrade submodule.
Patrick Monnerat [Fri, 19 Jun 2020 09:12:24 +0000 (11:12 +0200)]
Upgrade submodule.

4 years agoUpgrade submodule, sync code.
Patrick Monnerat [Thu, 11 Jun 2020 10:35:09 +0000 (12:35 +0200)]
Upgrade submodule, sync code.

Macro TYPE_FIELD_TYPE has been removed from gdb.

* gdbtk/generic/gdbtk-register.c (get_register_types): replace TYPE_FIELD_*
  macros uses by method calls.

4 years agoUpgrade submodule.
Patrick Monnerat [Fri, 5 Jun 2020 08:21:16 +0000 (10:21 +0200)]
Upgrade submodule.

This page took 0.064019 seconds and 5 git commands to generate.