| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
It is insufficient. We must get the absolute pathname
from autoconf.
Don't bother setting TCL_LIBRARY: it must be set already
in order for us to execute a script.
|
|
|
|
|
|
|
|
|
|
|
|
| |
private methods.
(_size): New private variable.
(font_changed, wfont_changed): Removed.
* library/globalpref.itb (make_font_item): Change combobox
callback to use _change_font.
Replace tixControl with iwidgets::spinint.
(font_changed, wfont_changed): Removed.
(_change_font, _change_size): New private methods.
* tclIndex: Regenerate.
|
|
|
|
| |
absolute pathnames in the *_LIBRAY variables.
|
|
|
|
|
|
|
| |
* generic/gdbtk-hooks.c (x_event): Deal with Tcl API insanity
for Tcl_ObjGetVar2 or Tcl_GetObjVar2.
(gdbtk_trace_find): Likewise for Tcl_GlobalEvalObj
or Tcl_EvalObj (TCL_EVAL_GLOBAL).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
layout for the source directory, let the Makefile tell us
where the real source directory is.
When compiling under Cygwin, convert the (posix) path to a
win32 path, which is what tcl really wants.
From Ian Roxborough <irox@redhat.com>:
* generic/gdbtk.c (gdbtk_init): If Insight isn't
executed from inside a directory called "bin",
assume that we are being running from the build
directory and set the *_LIBRARY variables to point
to (hopefully) the correct source directory.
|
|
|
|
|
| |
* library/regwin.itb: Rewrite.
* library/tclIndex: Regenerate.
|
|
|
|
|
|
|
|
|
| |
Consolidates all register handling.
(get_register_size): New function.
(gdb_changed_register_list, gdb_fetch_registers,
gdb_regnames): Deprecate.
(setup_architecture_data): Free old register cache
when necessary.
|
|
|
|
|
|
|
|
|
|
| |
architecture_changed event handler.
(gdbtk_architecture_changed): New function.
* library/gdbevent.ith (class ArchChangdEvent): New event.
* library/ehandler.ith (arch_changed): New method. Handler
for ArchChangedEvents.
* library/interface.tcl (gdbtk_tcl_architecture_changed): New
proc to handle architecture change events.
|
|
|
|
|
|
|
|
| |
color defaults for highlighting, headers, selecting, and "normal".
Get rid of gdb/variable/highlight_fg and gdb/reg/highlight_fg.
* library/variables.tcl (build_win): Use gdb/font/highlight_fg
and gdb/font/highilght_bg to set highlight style.
* library/memwin.itb (build_win): Use header_fg and header_bg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(_update_file_menu): New method.
(create_file_menu): Move the guts to _update_file_menu.
Add a post command to the menu.
* library/interface.tcl (gdbtk_tcl_file_changed): Catch the
call to run_hooks.
(gdbtk_tcl_exec_file_display): Save the new session, too.
(set_exe_name): Don't bother saving the session here.
(_close_file): Save the session here, too.
(gdbtk_clear_file): Catch the call to run_hooks, too.
* library/gdbmenubar.itcl (menubar_new_menu): Allow caller
to specify optional arguments to be passed to Tk when
creating the menu.
Tk's "menu add" command returns an empty string. Save the
menu's index in the parent instead. This is what all
the menu subcommands want.
|
|
|
|
|
|
|
| |
with recent breakpoint structure changes in gdb.
(gdb_set_bp_addr): Likewise.
(gdb_get_tracepoint_info): Update with recent tracepoint
structure changes in gdb.
|
|
|
|
|
| |
* generic/gdbtk-cmds.c: Don't include regcache.h.
* generic/gdbtk-register.c: Include regcache.h.
|
|
|
|
| |
points for eCos if main is not present.
|
|
|
|
|
|
| |
* library/managedwin.itb: Revert to global to properly
initialize geometry with some window managers.
* library/managedwin.ith (shutdown): Remove _geometry.
|
|
|
|
|
|
| |
* library/interface.tcl (gdbtk_locate_main): Fix function
so that it returns either a null string or a valid location,
as documented.
|
|
|
|
|
| |
* library/variables.tcl (build_menu_helper): Set
the Format menu option to "disabled" initially.
|
|
|
|
|
| |
* library/memwin.itb: Fix syntax to open a new window
using the "-force" flag.
|
|
|
|
|
|
| |
* generic/gdbtk-register.c (gdb_regnames): Fix 'if'
statement so count is decremented only if "-numbers"
is the first arg.
|
|
|
|
|
| |
* library/util.tcl (find_iwidgets_library): Look
for iwidgets3* so we don't accidently find iwidgets2.x.
|
|
|
|
|
|
| |
for unsigned register format.
(RegWin::reg_select): Iterate through 8 rather than 7 formats.
(RegWin::but3): Add menu option for unsigned register format.
|
|
|
|
|
|
|
|
|
|
| |
feedback widget instead of tixMeter.
Pack all the topmost widgets together -- don't use grid.
(update_download): Support the feedback widget.
(done): Ditto.
* library/download.ith (steps): New private variable.
(num_steps): New common.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
syntax errors.
* library/tracedlg.tcl: Update to work with Itcl3.0
and ManagedWin.
* library/actiondlg.tcl: Update to work with Itcl3.0
and ManagedWin.
(build_win): Use iwidgets scrolled listbox instead
of the tix one.
|
|
|
|
|
| |
to center_window unless we really are asked to put the
window over another!
|
|
|
|
|
| |
window over another, be sure to center on the window,
not the object.
|
|
|
|
|
|
|
|
|
| |
parameter to int to match breakpoint notifications.
(gdbtk_tracepoint_modify): Ditto.
(gdbtk_tracepoint_delete): Ditto.
(tracepoint_notify): Ditto.
* generic/gdbtk-hooks.c (gdbtk_add_hooks): Remove
tracepoint hooks and install tracepoint event handlers.
|
|
|
|
| |
* library/help/index.html: Added link.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(SESSION_serialize_bps): New proc.
(SESSION_recreate_bps): New proc.
(session_load): Recreate breakpoints.
* library/util.tcl (bp_exists): Expect user specification in
breakpoint info.
* library/srctextwin.itb (SrcTextWin::showBPBalloon): Expect user
specification in breakpoint info.
* library/gdbevent.itb (BreakpointEvent::_init): Initialize
_user_specification.
(BreakpointEvent::get): Handle user_specification.
* library/gdbevent.ith (BreakpointEvent): Added
_user_specification field.
* library/bpwin.itb (BpWin::bp_store): Expect user specification
and use it when saving.
(BpWin::bp_type): Expect user specification.
* generic/gdbtk-bp.c (BREAKPOINT_IS_WATCHPOINT): New macro.
(gdb_get_breakpoint_info): Added `user specification' to result.
|
|
|
|
|
| |
we are unable to get the current frame. get_current_frame
may have output an error message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk-hooks.c (x_event): Remove unused variable "count".
(tracepoint_notify): Remove superfluous declaration. This funtion
was moved to gdbtk-bp.c.
* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Remove unused variable
"b".
(gdb_set_bp): Remove unused variable "cmd".
(gdb_set_bp_addr): Remove unused variables "cmd" and "filename".
* generic/gdbtk.c (gdbtk_init): Remove unused variables
"auto_path_name", "auto_path_elem", and "found_main".
|
|
|
|
|
|
| |
* generic/gdbtk.c (_initialize_gdbtk): Don't close console yet.
(gdbtk_init): Wait until after tcl/tk stuff is all initialized
to close console (on Windows) and redirect ouput.
|
|
|
|
|
| |
* library/globalpref.itb(build_win): Don't change directory
before building icon combobox. Add debug lines.
|
|
|
|
| |
state.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(gdbtk_update): Dispatch and UpdateEvent, too.
* library/ehandler.ith (update): New event handler.
* library/gdbevent.ith (UpdateEvent): New event.
* library/gdbevent.itb (UpdateEvent::constructor): New method.
(UpdateEvent::get): New method.
* library/kod.ith (udpate): Match event handler definition.
* library/kod.itb (update): Ditto.
(build_win): Pass dummy argument to update method.
(top): Ditto.
(up): Ditto.
(set_variable): Ditto.
* library/memwin.ith (update): Match event handler definition.
* library/memwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
* library/process.ith (update): Match event handler definition.
* library/process.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/regwin.ith (update): Match event handler definition.
* library/regwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
(but3): Ditto.
(unedit): Ditto.
* library/stackwin.ith (update): Match event handler definition.
* library/stackwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/tdump.tcl (update): Match event handler definition.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/variables.tcl (update): Match event handler definition.
(build_win): Pass dummy argument to update method.
* library/locals.tcl (update): Match event handler definition.
(constructor): Pass dummy argument to update method.
* library/watch.tcl (update): Match event handler definition.
Pass dummy argument to VariableWin::update.
(add): Pass dummy argument to update method.
* library/srcwin.ith (update): New method.
(update_hook_init): Remove.
* library/srcwin.itb (update): New method.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
* tclIndex: Regenerate.
|
|
|
|
|
| |
to idle method.
(destructor): Ditto.
|
|
|
|
| |
until they're all gone.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(gdbtk_idle): Dispatch an IdleEvent. gdb_idle_hook is gone.
* library/ehandler.ith (idle): New event handler.
* library/gdbevent.ith (IdleEvent): New event.
* library/console.ith (idle): Match event handler definition.
* library/console.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/kod.ith (idle): Match event handler definition.
* library/kod.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/memwin.ith (idle): Match event handler definition.
* library/memwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/pluginwin.itcl (stopped): Rename to "idle" and
match event handler definition.
Fix misleading comments.
* library/process.ith (idle): Match event handler definition.
* library/process.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/regwin.ith (idle): Match event handler definition.
* library/regwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/srcbar.itcl (idle): New method.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/srcwin.ith (idle): Match event handler definition.
* library/srcwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/stackwin.ith (idle): Match event handler definition.
* library/stackwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/variables.tcl (idle): Match event handler definition.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/plugins/rhabout/rhabout.itcl (stopped): Rename
to "idle" and match new event handler definition.
* library/tclIndex: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(gdbtk_busy): Create and dispatch a BusyEvent instead
of running hooks.
* library/ehandler.ith (busy): New event handler.
* library/gdbevent.ith (BusyEvent): New event class.
* library/console.ith: Inherit from GDBEventHandler.
(busy): Match event handler definition.
* library/console.itb (busy): Ditto.
(constructor): Remove gdb_busy_event.
(destructor): Ditto.
* library/kod.ith (busy): Match event handler definition.
* library/kod.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/memwin.ith (busy): Match event handler definition.
* library/memwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/pluginwin.itcl (running): Rename to "busy" and
match event handler definition.
(consturctor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/process.ith (busy): Match event handler definition.
* library/process.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/regwin.ith (busy): Match event handler definition.
* library/regwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/srcbar.itcl (constructor): Remove gdb_busy_hook.
(destructor): Ditto.
(busy): New method.
* library/srcwin.ith (busy): Match event handler definition.
* library/srcwin.itb (busy): Ditto.
Only do the "busy" stuff if do_updates is set.
(toggle_updates): Remove gdb_busy_hook.
(constructor): Ditto.
(destructor): Ditto.
* library/stackwin.ith (busy): Match event handler definition.
* library/stackwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/variables.tcl (constructor): Ditto.
(destructor): Ditto.
(disable_ui): Rename to "busy" and match event handler
definition.
* library/plugins/rhabout/rhabout.itcl (running): Rename
to "busy" and match new event handler definition.
* library/tclIndex: Regenerated.
|
|
|
|
|
|
|
|
|
|
| |
(fromhex): New function.
(gdb_set_mem): New function.
(Gdbtk_Init): Add new command, "gdb_set_mem".
* library/memwin.itb (edit): Use "gdb_set_mem" to set
memory, not some gdb_cmd contrivance.
When sending data to gdb_set_mem, make sure that it
is properly zero-padded.
|
| |
|
|
|
|
|
|
| |
* memwin.itb (error_dialog): Define.
(edit): When attempting to set memory, post an error dialog
if gdb told us an error occurred while writing the memory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the case of empty-string files, sent by gdb when the
user requests to reset the file.
(_close_file): New proc to deal with closing an exe.
* library/srcbar.itcl (create_file_menu): Add "Close" menu
option.
(create_view_menu): Change key binding for Watch Window to
Ctrl+T to accomodate "Close" going to Ctrl+W.
* library/srctextwin.itb (config_win): Update key binding
for Watch Window.
Add key binding for Close.
(do_key): Add "close".
(_clear_cache): Finally implement. I think this works now.
|
|
|
|
|
| |
for popup menu bug in Tk for windows.
Highlight the selection, too.
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of a global from ManagedWin::reveal.
(open): Make arg list reflect managedwin.itb.
* library/managedwin.itb (window_name): Use class variable
_top instead of recomputing the toplevel every time.
(reveal): Ditto.
Use class variable "_geometry" instead of global variable.
(shutdown): Do not save ModalDialogs.
(_create): If centering the new window, use libgui's
center_window to do it.
|
|
|
|
|
| |
* generic/gdbtk-hooks.c (gdbtk_wait): Change integer pid
argument to match gdb's new "ptid_t" pids.
|
|
|
|
|
|
|
| |
here. It doesn't work for the Console Window.
(gdbtk_cleanup): Save session information here.
(gdbtk_tcl_exec_file_display): When files are loaded,
get the full pathname to the exe.
|
|
|
|
| |
extra `/' in it.
|
|
|
|
|
| |
to match the recently changed declaration in breakpoint.c.
Update all callers.
|
|
|
|
|
|
| |
against "invalid" (internal) breakpoint numbers.
(gdbtk_modify_breakpoint): Ditto.
(gdbtk_delete_breakpoint): Ditto.
|