]> sourceware.org Git - insight.git/log
insight.git
8 years agoUpgrade submodule.
Patrick Monnerat [Thu, 24 Mar 2016 10:18:39 +0000 (11:18 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule.
Patrick Monnerat [Fri, 18 Mar 2016 09:21:30 +0000 (10:21 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule.
Patrick Monnerat [Fri, 11 Mar 2016 10:03:38 +0000 (11:03 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule.
Patrick Monnerat [Fri, 4 Mar 2016 09:55:14 +0000 (10:55 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule.
Patrick Monnerat [Fri, 26 Feb 2016 09:43:35 +0000 (10:43 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule.
Patrick Monnerat [Fri, 19 Feb 2016 09:31:41 +0000 (10:31 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule, update code accordingly.
Patrick Monnerat [Mon, 8 Feb 2016 13:19:17 +0000 (14:19 +0100)]
Upgrade submodule, update code accordingly.
The gdb procedure varobj_delete() has dropped the "returned variable list"
feature, thus we can no longer use it to remove our tcl alias variables.
A new procedure variable_delete_tcl() is thus implemented to perform this
task before removing the gdb variable.

* gdbtk/generic/gdbtk_varobj.c: new procedure variable_delete_tcl().
  (variable_delete): remove tcl alias variable using variable_delete_tcl().

8 years agoUpgrade submodule.
Patrick Monnerat [Fri, 5 Feb 2016 09:40:18 +0000 (10:40 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule.
Patrick Monnerat [Mon, 1 Feb 2016 10:04:50 +0000 (11:04 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Mon, 25 Jan 2016 11:01:45 +0000 (12:01 +0100)]
Upgrade submodule. Update patch accordingly.

8 years agoUpgrade submodule. Adjust code and patch accordingly.
Patrick Monnerat [Wed, 20 Jan 2016 10:05:01 +0000 (11:05 +0100)]
Upgrade submodule. Adjust code and patch accordingly.

* gdbtk/generic/gdbtk-bp.c (tracepoint_exists): New parameter to decode_line_1()
* gdbtk/generic/gdbtk-cmds.c (gdb_get_line_command): Likewise
  (gdb_get_file_command): Likewise
  (gdb_get_function_command): Likewise
* gdbtk/generic/gdbtk-stack.c (gdb_get_vars_command): Likewise

8 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Fri, 15 Jan 2016 11:47:28 +0000 (12:47 +0100)]
Upgrade submodule. Update patch accordingly.

8 years agoUpgrade submodule. Update patches accordingly.
Patrick Monnerat [Tue, 12 Jan 2016 10:47:21 +0000 (11:47 +0100)]
Upgrade submodule. Update patches accordingly.

8 years agoUpgrade submodule.
Patrick Monnerat [Wed, 23 Dec 2015 09:32:45 +0000 (10:32 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Fri, 18 Dec 2015 10:08:59 +0000 (11:08 +0100)]
Upgrade submodule. Update patch accordingly.

8 years agoUpgrade submodule.
Patrick Monnerat [Fri, 11 Dec 2015 09:48:27 +0000 (10:48 +0100)]
Upgrade submodule.

8 years agoUpgrade submodule
Patrick Monnerat [Fri, 4 Dec 2015 09:46:16 +0000 (10:46 +0100)]
Upgrade submodule

8 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Fri, 27 Nov 2015 11:00:16 +0000 (12:00 +0100)]
Upgrade submodule. Update patch accordingly.

8 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Fri, 20 Nov 2015 11:09:40 +0000 (12:09 +0100)]
Upgrade submodule. Update patch accordingly.

8 years agoUpgrade submodule.
Patrick Monnerat [Fri, 13 Nov 2015 09:47:05 +0000 (10:47 +0100)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 6 Nov 2015 10:42:20 +0000 (11:42 +0100)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 30 Oct 2015 10:24:08 +0000 (11:24 +0100)]
Upgrade submodule.

9 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Wed, 21 Oct 2015 09:40:03 +0000 (11:40 +0200)]
Upgrade submodule. Update patch accordingly.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 16 Oct 2015 14:06:47 +0000 (16:06 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 9 Oct 2015 09:38:06 +0000 (11:38 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Mon, 5 Oct 2015 15:05:20 +0000 (17:05 +0200)]
Upgrade submodule.

9 years agoSet running state in text window even if tracing features are enabled.
Patrick Monnerat [Mon, 5 Oct 2015 14:58:14 +0000 (16:58 +0200)]
Set running state in text window even if tracing features are enabled.
Failure to do so can segfault at rerun because the balloon variable may still
contain a dangling pointer to an item from the previous run.

* gdbtk/library/srcwin.itb (rcWin::_set_state): Call SrcTextWin::SetRunningState
  inconditionally.

9 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Sat, 3 Oct 2015 17:07:48 +0000 (19:07 +0200)]
Upgrade submodule. Update patch accordingly.

9 years agoAllow run commands to complete before target stops.
Patrick Monnerat [Sat, 3 Oct 2015 16:39:50 +0000 (18:39 +0200)]
Allow run commands to complete before target stops.
Latest gdb versions run command handlers return before the target stops,
even in synchronous mode. Insight must therefore monitor gdb events until
the target stops running.

* gdbtk/generic/gdbtk-hooks.c: include event-loop.h.
  (gdbtk_call_command): Monitor gdb events after run command execution until
  the inferior ptid has stopped or disappeared.

9 years agoRevert submodule to the last working commit.
Patrick Monnerat [Tue, 29 Sep 2015 15:06:16 +0000 (17:06 +0200)]
Revert submodule to the last working commit.

binutils-gdb commit 0b333c5e7d6c3fc65d37ffa11bd21ba52c4adb25 breaks the
synchronous mode used by insight. For now, use the last commit before it.
This will let insight working while investigating this sync issue.
See https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0b333c5e7d6c3fc65d37ffa11bd21ba52c4adb25.

9 years agoUpgrade submodule.
Patrick Monnerat [Mon, 28 Sep 2015 11:58:39 +0000 (13:58 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 4 Sep 2015 09:56:38 +0000 (11:56 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule, update patch accordingly.
Patrick Monnerat [Mon, 31 Aug 2015 09:54:35 +0000 (11:54 +0200)]
Upgrade submodule, update patch accordingly.

9 years agoplugins: unbundle tcl and adjust to latest cygwin.
Patrick Monnerat [Wed, 26 Aug 2015 11:10:37 +0000 (13:10 +0200)]
plugins: unbundle tcl and adjust to latest cygwin.

* gdbtk/plugins/Make-rules: Use Tcl private include C flags from autotools
  for Windows.
* gdbtk/plugins/rhabout/rhabout.c: Use __declspec(dllexport) for all
  Windows builds.
  (DllMain): Define for all native Windows builds. Remember Cygwin is not
  a native Windows environment anymore.

9 years agoUpgrade submodule. Delete obsolete patch.
Patrick Monnerat [Wed, 26 Aug 2015 11:07:00 +0000 (13:07 +0200)]
Upgrade submodule. Delete obsolete patch.

9 years agoRemove maybe-uninitialized warning.
Patrick Monnerat [Tue, 25 Aug 2015 13:49:05 +0000 (15:49 +0200)]
Remove maybe-uninitialized warning.

* gdbtk/generic/gdbtk-register.c (gdb_register_info): Preset arg fields before
  switch on command. Remove redundant arg settings.

9 years agoAction dialog: set window title.
Patrick Monnerat [Mon, 24 Aug 2015 17:15:47 +0000 (19:15 +0200)]
Action dialog: set window title.

* gdbtk/library/actiondlg.tcl (ActionDlg::constructor): Set dialog title
  according to Editing option.

9 years agoUpgrade submodule.
Patrick Monnerat [Mon, 24 Aug 2015 17:03:01 +0000 (19:03 +0200)]
Upgrade submodule.

9 years agoAction dialog: accept while-stepping without data collect.
Patrick Monnerat [Mon, 24 Aug 2015 16:44:02 +0000 (18:44 +0200)]
Action dialog: accept while-stepping without data collect.
Upgrade submodule.

* gdbtk/library/tracedlg.tcl (TraceDlg::get_actions): Preset empty data in
  case scan does not set it.
  (TraceDlg::edit): Preset empty data in case scan does not set it.
  Set Editing option when creating an action dialog.
  (gdb_add_tracepoint): Accept empty action for while-stepping.
  (gdb_edit_tracepoint): Likewise.
* gdbtk/library/actiondlg.tcl: New option Editing.
  (ActionDlg::ok): Check validity of step count for while-stepping.
  Accept no data collection in while-stepping.
  Rely on Editing option rather than data presence to determine add or modify
  command to use.

9 years agoUpgrade submodule.
Patrick Monnerat [Sat, 22 Aug 2015 12:21:48 +0000 (13:21 +0100)]
Upgrade submodule.

9 years agoAction dialog: refine "change other".
Patrick Monnerat [Sat, 22 Aug 2015 11:58:01 +0000 (13:58 +0200)]
Action dialog: refine "change other".

* gdbtk/library/actiondlg.tcl (ActionDlg::change_other): Trim entry first.
  Use regular expressions to match special tag names with multiple spaces.
  Check if we are adding or deleting before any semantic check: this allows to
  locally link to lists rather than copying them in and out, and simplifies
  later processing.
  Trim $ on the left only to check for a register name.

9 years agoAction dialog: fix "Collect Stack" processing.
Patrick Monnerat [Sat, 22 Aug 2015 10:08:08 +0000 (12:08 +0200)]
Action dialog: fix "Collect Stack" processing.

* gdbtk/library/actiondlg.tcl (ActionDlg::change): Use lassign where possible.
  Link to Collect and Variables rather than copying them in an out locally.
  Use modified prototypes for procedures all_locals, all_regs and all_args.
  Process the "Collect Stack" action specifically.
  (ActionDlg::all_args): Arguments are listnamedel listnameadd.
  Work directly on named arguments rather than copying in and returning a value.
  (ActionDlg::all_locals): Likewise.
  (ActionDlg::all_regs): Likewise.
  (ActionDlg::change_other): Map expressions representing special tags to
  the tag itself.
  Compute add/del flag and copy in lists before checking the tag name.
  Use new prototypes for procedures all_locals, all_regs and all_args.
  Process "Collect Stack" properly.

9 years agoAction dialog: remove stack pointer field.
Patrick Monnerat [Sat, 22 Aug 2015 09:48:04 +0000 (11:48 +0200)]
Action dialog: remove stack pointer field.

* gdbtk/library/actiondlg.tcl: Remove class field StackPointer.
  (Actiondlg:constructor): Use a local variable to store the stack pointer name.

9 years agoConsider C function arguments as such, not as local variables.
Patrick Monnerat [Sat, 22 Aug 2015 09:27:20 +0000 (11:27 +0200)]
Consider C function arguments as such, not as local variables.
C function arguments do not have an argument class, but are regular local
variables flagged as being an argument. Check this flag in addition to
the symbol class.

* gdbtk/generic/gdbtk-stack.c (gdb_get_vars_command): Symbols with a
  LOC_LOCAL, LOC_STATIC, LOC_REGISTER or LOC_COMPUTED class are arguments
  if they are flagged as such.

9 years agoComplete head comment of gdb_register_info().
Patrick Monnerat [Sat, 22 Aug 2015 09:20:38 +0000 (11:20 +0200)]
Complete head comment of gdb_register_info().

9 years agoActions dialog: do not propose expressions that cannot be collected.
Patrick Monnerat [Thu, 20 Aug 2015 15:35:58 +0000 (17:35 +0200)]
Actions dialog: do not propose expressions that cannot be collected.
This filters out uncollectable pseudo-registers and builds the stack collection
expression at run time.

* gdbtk/generic/gdbtk-register.c (get_register_collectable): New procedure:
  lists whether a register is collectable or not.
  (gdb_regspecial): New procedure: lists the register number of special
  registers.
  (gdb_register_info): New options "collectable" and "special".
* gdbtk/library/actiondlg.tcl (class ActionDlg): Do not preset StackCollect.
  Define protected field StackPointer.
  (ActionDlg::constructor): Filter out non-collectable registers.
  Compute stack collection expression from current architecture's stack pointer.
  Do not propose "All registers" if none exists.
  Do not propose "Collect Stack" if the stack pointer is not collectable.
  (ActionDlg::change_other): Fix a cut+pasted comment.

9 years agoEmulate trace start/stop hook.
Patrick Monnerat [Wed, 19 Aug 2015 16:15:36 +0000 (18:15 +0200)]
Emulate trace start/stop hook.
This deprecated hook still exisits in gdb, but is not called anymore.
The optimal solution would be to have it replaced by an observer.
In the meantime, we check for a trace status change at each run/trace command
execution and eventually call the hook procedure explicitely.

* gdbtk/generic/gdbtk-hooks.c (gdbtk_add_hooks): Do not set the
  deprecated_trace_start_stop_hook anymore.
  (gdbtk_call_command): When a run/trace class command is executed, save the
  trace running status before command and, if changed after command terminates,
  call the hook procedure accordingly.

9 years agoImplement disabled tracepoint support.
Patrick Monnerat [Wed, 19 Aug 2015 13:35:21 +0000 (15:35 +0200)]
Implement disabled tracepoint support.

* gdbtk/library/srctextwin.ith (class SrcTextWin): Add new type disabled_tp.
  Fix a typo in comment.
* gdbtk/library/srctextwin.itb (SrcTextWin::constructor): Initialize
  break_image for disabled_tp.
  (SrcTextWin::build_popups): Initialize popups for disabled_tp.
  Add Enable/Disable Tracepoint menu entries.
  (SrcTextWin::enable_disable_src_tags): Bind <Enter>/<Motion>/<Leave> events of
  disabled_tp_tag.
  (SrcTextWin::config_win): Configure disabled_tp_tag.
  Bind <Button-1> and <Button-3> event of disable_bp_tag.
  (SrcTextWin::removeBreakTag): Match also disabled_tp tags.
  (SrcTextWin::hasTP): Likewise.
  (SrcTextWin::showTPBalloon): Determine tracepoint type.

9 years agoUpgrade submodule.
Patrick Monnerat [Wed, 19 Aug 2015 09:40:22 +0000 (11:40 +0200)]
Upgrade submodule.

9 years agoFix bp/tp window deletion (again).
Patrick Monnerat [Tue, 18 Aug 2015 17:57:32 +0000 (19:57 +0200)]
Fix bp/tp window deletion (again).

* gdbtk/library/bpwin.itb (BpWin::bp_delete): selection never needs
  decrementing.

9 years agoImplement tracepoint balloons.
Patrick Monnerat [Tue, 18 Aug 2015 17:43:49 +0000 (19:43 +0200)]
Implement tracepoint balloons.

* gdbtk/library/srctextwin.ith (SrcTextWin::showTPBalloon): New method.
* gdbtk/library/srctextwin.itb (SrcTextWin::showTPBalloon): New method.
  (SrcTextWin::enable_disable_src_tags): Preset motion for tracepoints.
  (SrcTextWin::motion): Check tracepoint type in addition to breakpoint and
  variables.

9 years agoCorrectly update current selection upon breakpoint/tracepoint deletion.
Patrick Monnerat [Tue, 18 Aug 2015 15:02:47 +0000 (17:02 +0200)]
Correctly update current selection upon breakpoint/tracepoint deletion.

* gdbtk/library/bpwin.itb (BpWin::bp_delete): Deselect if deleting the
  current selection. Update current selection if after the deleted line.

9 years agoEnable tracepoint creation events.
Patrick Monnerat [Tue, 18 Aug 2015 14:28:44 +0000 (16:28 +0200)]
Enable tracepoint creation events.

* gdbtk/generic/gdbtk-bp.c (BREAKPOINT_IS_INTERESTING): Tracepoints are
  interesting! This enables observer routing to Tcl events for tracepoints.
* gdbtk/library/bpwin.itb (BpWin::breakpoint): Ignore event if this is a
  tracepoint window.
  (BpWin::tracepoint): Ignore event if this is a breakpoint window.

9 years agogdbtk/library/ehandler.ith: Fix typo in comment.
Patrick Monnerat [Tue, 18 Aug 2015 13:06:04 +0000 (15:06 +0200)]
gdbtk/library/ehandler.ith: Fix typo in comment.

9 years agoTraceDlg: replace WhileStepping flag by a presence test method.
Patrick Monnerat [Tue, 18 Aug 2015 12:23:36 +0000 (14:23 +0200)]
TraceDlg: replace WhileStepping flag by a presence test method.
This effectively allows deleting the while-stepping action and recreate a
new one.

* gdbtk/library/tracedlg.tcl: Delete obsolete WhileStepping flag.
  (has_while_stepping): New method.
  (add_action): Test duplicate while-stepping using method instead of flag.
  (add_action_to_list): Do not set obsolete WhileStepping flag.

9 years agoTrace dialog: be more selective on action regular expressions.
Patrick Monnerat [Tue, 18 Aug 2015 12:00:44 +0000 (14:00 +0200)]
Trace dialog: be more selective on action regular expressions.
Only allow the command word to appear at the beginning of the command: this
will avoid positive patches on variable names, such as understanding
"collect endOfFile" as and "end" command.

* gdbtk/library/tracedlg.tcl (TraceDlg::add_all_actions): Refine all
  regular expressions.
  (TraceDlg::get_actions): Likewise.
  (TraceDlg::edit): Likewise.

9 years agoEdit one tracepoint action at a time.
Patrick Monnerat [Tue, 18 Aug 2015 10:42:28 +0000 (12:42 +0200)]
Edit one tracepoint action at a time.
Use active (i.e.: last clicked) action instead of selection to start edition.

* gdbtk/library/tracedlg.tcl (TraceDlg::edit): Begin by selecting the active
  action only.

9 years agoAdd a procedure interface comment.
Patrick Monnerat [Mon, 17 Aug 2015 23:50:36 +0000 (00:50 +0100)]
Add a procedure interface comment.

* gdbtk/generic/gdbtk-bp.c (gdb_get_tracepoint_info): Describe argument and
  result.

9 years agoGet tracepoint action subcommands too.
Patrick Monnerat [Mon, 17 Aug 2015 23:26:05 +0000 (00:26 +0100)]
Get tracepoint action subcommands too.
The while-stepping action may have collect subcommands: include them in
tracepoint info.

* gdbtk/generic/gdbtk-bp.c (gdb_get_action_list): New recursive procedure.
  (gdb_get_tracepoint_info): Use gdb_get_action_list to recursively list
  commands.
* gdbtk/library/tracedlg.tcl (add_all_actions): Process multiple while-stepping
  subcommands.
  (edit): Pass option -Data value as a list (to accept multiple expressions).

9 years agoTracepoint action command: do not ignore first command.
Patrick Monnerat [Mon, 17 Aug 2015 17:03:32 +0000 (19:03 +0200)]
Tracepoint action command: do not ignore first command.

* gdbtk/generic/gdbtk-bp.c (gdb_actions_command): Set initial line index to 0.

9 years agoFix setting no action to tracepoint.
Patrick Monnerat [Mon, 17 Aug 2015 12:10:36 +0000 (14:10 +0200)]
Fix setting no action to tracepoint.

* gdbtk/generic/gdbtk-bp.c (gdb_actions_command): Preset comman pointer to NULL.
  Do not call read_command_lines_1() when no action is defined.

9 years agoImplement a subclass for the tracepoint window.
Patrick Monnerat [Sun, 16 Aug 2015 16:47:06 +0000 (17:47 +0100)]
Implement a subclass for the tracepoint window.
This prevents the confusion between the breakpont and the tracepoint windows.
It allows to have both open at the same time.

* gdbtk/library/managedwin.itb (ManagedWin::_open): Do not match an object
  with a class if it's not the top class.
* gdbtk/library/srcbar.itcl (create_view_menu): Direct the tracepoints menu
  entry to open a Tpwin tracepoint window.
  Remove redundant "-tracepoints 0" on the breakpoints menu entry.
  (create_window_buttons): The Tracepoints button opens a TpWin, not a Bpwin.
* gdbtk/library/srctextwin.itb (SrcTextWin::do_key): Key "tracepoints" opens
  a TpWin, not a BpWin.
* gdbtk/library/tpwin.itcl: New file. Defines the TpWin subclass of BpWin.
* gdbtk/library/tclIndex: Defines the TpWin related indexes.

9 years agoAvoid accessing non-existing event "disposition" on a tracepoint.
Patrick Monnerat [Sun, 16 Aug 2015 13:08:20 +0000 (14:08 +0100)]
Avoid accessing non-existing event "disposition" on a tracepoint.

* gdbtk/library/bpwin.itb (BpWin::bp_add): Get disposition event only for
  breakpoints. Fix a typo.
  (BpWin::bp_modify): Get disposition event only for breakpoints.

9 years agoJanitorial: strip trailing spaces.
Patrick Monnerat [Sun, 16 Aug 2015 12:47:38 +0000 (13:47 +0100)]
Janitorial: strip trailing spaces.

9 years agoInitialize breakpoint window before building it.
Patrick Monnerat [Sun, 16 Aug 2015 10:37:56 +0000 (11:37 +0100)]
Initialize breakpoint window before building it.
This effectively enables building a true tracepoint window.

* gdbtk/library/bpwin.itb (BpWin::constructor): Move itk_initialize call before
  build_win.

9 years agoSet tracepoint action dialog as modal.
Patrick Monnerat [Sun, 16 Aug 2015 10:31:12 +0000 (11:31 +0100)]
Set tracepoint action dialog as modal.

* gdbtk/library/actiondlg.tcl (class ActionDlg): Inherits ModalDialog.

9 years agoChange copyright year of last modified file (gdbtk/library/tracedlg.tcl).
Patrick Monnerat [Sat, 15 Aug 2015 09:35:28 +0000 (10:35 +0100)]
Change copyright year of last modified file (gdbtk/library/tracedlg.tcl).

9 years agoSet trace dialog as modal.
Patrick Monnerat [Sat, 15 Aug 2015 09:31:56 +0000 (10:31 +0100)]
Set trace dialog as modal.

* gdbtk/library/tracedlg.tcl (class TraceDlg): Inherits ModalDialog.

9 years agoTolerate build of an empty tracepoint dialog.
Patrick Monnerat [Sat, 15 Aug 2015 09:14:51 +0000 (10:14 +0100)]
Tolerate build of an empty tracepoint dialog.

* gdbtk/library/tracedlg.tcl (build_win): Always define "multiline".
  Define default values when no tracepoint is selected.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 14 Aug 2015 18:37:39 +0000 (20:37 +0200)]
Upgrade submodule.

9 years agoMake the "Set Tracepoint" dialog working.
Patrick Monnerat [Fri, 14 Aug 2015 18:30:25 +0000 (20:30 +0200)]
Make the "Set Tracepoint" dialog working.
This is achieved by accepting configure arguments in the Labelledframe
constructor and avoiding a null-pointer dereferencing when no action is
associated.

* gdbtk/generic/gdbtk-bp.c (gdb_actions_command): When no action is given,
  parse commands from a zero-length string.
* libgui/library/lframe.tcl (constructor): Accept arguments and configure.

9 years agoMake trace find feature working again.
Patrick Monnerat [Fri, 14 Aug 2015 15:52:28 +0000 (17:52 +0200)]
Make trace find feature working again.
The trace frame find GUI feature was connected to the deprecated_trace_find_hook
that gdb still defines, but does not call anymore.
The same function is now achieved via a traceframe_changed observer.

* gdbtk/generic/gdbtk-hooks.c:
  (gdbtk_trace_find): Change prototype to match the traceframe_changed observer.
  Pass the new arguments to tcl/tk.
  (gdbtk_add_hooks): Connect gdbtk_trace_find as an observer, not a hook.
* gdbtk/library/interface.tcl (gdbtk_tcl_trace_find_hook):
  Use observer parameters.
* gdbtk/library/srcbar.itcl (handle_trace_find_hook): Use observer parameters.
* gdbtk/library/srctextwin.it[bh] (trace_find_hook): Use observer parameters.

9 years agoconfigure: autoconf in gdb/testsuite/gdb.gdbtk
Patrick Monnerat [Thu, 13 Aug 2015 17:21:36 +0000 (19:21 +0200)]
configure: autoconf in gdb/testsuite/gdb.gdbtk
This is now needed by the src-release.sh script.

9 years agoUpdate copyright year of latest changed files.
Patrick Monnerat [Thu, 13 Aug 2015 16:38:27 +0000 (18:38 +0200)]
Update copyright year of latest changed files.

9 years agoComment patches.
Patrick Monnerat [Thu, 13 Aug 2015 13:54:55 +0000 (15:54 +0200)]
Comment patches.

9 years agogdbtk: adapt to the new explicit locations API
Patrick Monnerat [Thu, 13 Aug 2015 13:04:59 +0000 (15:04 +0200)]
gdbtk: adapt to the new explicit locations API

* gdb/generic/gdbtk-bp.c: Include location.h.
  (gdb_get_breakpoint_info): Use event_location_to_string instead of
  `addr_string'.
  (gdb_set_bp): Use string_to_event_location and pass this to
  create_breakpoint instead of an address string.
  (tracepoint_exists): Use string_to_event_location and pass this to
  decode_line_1 instead of an address string.
* gdb/generic/gdbtk-cmds.c: Include location.h.
  (gdb_get_line_command): Use string_to_event_location and pass this to
  decode_line_1 instead of an address string.
  (gdb_get_file_command): Likewise.
  (gdb_get_function_command): Likewise.
* gdb/generic/gdbtk-stack.c: Include location.h.
  (gdb_get_vars_command):Use string_to_event_location and pass this to
  decode_line_1 instead of an address string.

9 years agoUpgrade submodule.
Patrick Monnerat [Thu, 13 Aug 2015 12:21:05 +0000 (14:21 +0200)]
Upgrade submodule.

9 years agoTcl does not like defining an array item as a global variable.
Patrick Monnerat [Tue, 11 Aug 2015 14:30:54 +0000 (16:30 +0200)]
Tcl does not like defining an array item as a global variable.
Only the array name may be declared global.
* gdbtk/library/targetselection.itb (set_run): Comment out global declaration.

9 years agoMatch allocator to destructor: bfd_openr --> gdb_bfd_openr.
Patrick Monnerat [Tue, 11 Aug 2015 14:25:54 +0000 (16:25 +0200)]
Match allocator to destructor: bfd_openr --> gdb_bfd_openr.
This avoids a segmentation fault at cleanup time.
* gdbtk/generic/gdbtk-cmds.c (gdb_load_info): Use gdb_bfd_openr().

9 years agoUpgrade submodule.
Patrick Monnerat [Tue, 11 Aug 2015 14:13:40 +0000 (16:13 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule. Update patches accordingly.
Patrick Monnerat [Fri, 7 Aug 2015 10:18:07 +0000 (12:18 +0200)]
Upgrade submodule. Update patches accordingly.

9 years ago* gdbtk/generic/gdbtk-hooks.c (gdbtk_print_frame_info): Add a comment
Patrick Monnerat [Mon, 3 Aug 2015 12:31:19 +0000 (14:31 +0200)]
* gdbtk/generic/gdbtk-hooks.c (gdbtk_print_frame_info): Add a comment
  to justify the presence of an emtpy hook.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 31 Jul 2015 09:43:42 +0000 (11:43 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Mon, 27 Jul 2015 10:36:01 +0000 (12:36 +0200)]
Upgrade submodule. Update patch accordingly.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 24 Jul 2015 09:34:13 +0000 (11:34 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Wed, 15 Jul 2015 11:40:31 +0000 (13:40 +0200)]
Upgrade submodule. Update patch accordingly.

9 years agoUpgrade submodule. Update gui code according to submodule change.
Patrick Monnerat [Thu, 9 Jul 2015 09:56:21 +0000 (11:56 +0200)]
Upgrade submodule. Update gui code according to submodule change.
Replace (suppressed) deprecated_register_changed_hook by observer.

* generic/gdbtk-hooks.c (gdbtk_register_changed): Alter prototype for use as
an observer.
(gdbtk_add_hooks): Remove reference to deprecated_register_changed_hook. Use
observer_attach_register_changed() instead.

9 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Fri, 3 Jul 2015 09:50:37 +0000 (11:50 +0200)]
Upgrade submodule. Update patch accordingly.

9 years agoUpgrade submodule. Adapt sources according to submodule changes.
Patrick Monnerat [Wed, 1 Jul 2015 14:09:56 +0000 (16:09 +0200)]
Upgrade submodule. Adapt sources according to submodule changes.

GDB suppressed the deprecated_selected_frame_level_changed_hook: the following
changes have been made to accomodate gdbtk to this new situation:

* gdbtk/generic/gdbtk-hooks.c (deprecated_selected_frame_level_changed_hook):
Remove assignment.
* gdbtk/generic/gdbtk-hooks.c (gdbtk_selected_frame_changed): No longer used.
Remove.
* gdbtk/generic/gdbtk-stack.c (gdb_selected_frame_level): New Tcl function.
* gdbtk/library/stackwin.itb (StackWin::update): replace use of
gdb_selected_frame_level global variable by a call to gdb_selected_frame_level.

9 years agoUpgrade submodule.
Patrick Monnerat [Mon, 29 Jun 2015 09:47:36 +0000 (11:47 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Tue, 23 Jun 2015 10:21:54 +0000 (12:21 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 19 Jun 2015 09:45:03 +0000 (11:45 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 12 Jun 2015 10:14:20 +0000 (12:14 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 29 May 2015 09:36:52 +0000 (11:36 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 22 May 2015 10:14:09 +0000 (12:14 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Fri, 15 May 2015 10:13:25 +0000 (12:13 +0200)]
Upgrade submodule. Update patch accordingly.

9 years agoUpgrade submodule.
Patrick Monnerat [Fri, 8 May 2015 09:29:28 +0000 (11:29 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Tue, 5 May 2015 13:04:00 +0000 (15:04 +0200)]
Upgrade submodule. Update patch accordingly.

9 years agoUpgrade submodule.
Patrick Monnerat [Wed, 22 Apr 2015 10:02:35 +0000 (12:02 +0200)]
Upgrade submodule.

9 years agoUpgrade submodule. Update patch accordingly.
Patrick Monnerat [Wed, 15 Apr 2015 09:31:05 +0000 (11:31 +0200)]
Upgrade submodule. Update patch accordingly.

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