| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* library/help/source.html: Add entries for the missing menu commands.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/mempref.itb (MemPref::constructor): Allow the Byte Per Row
combo box to accept arbitrary values.
(MemPref::set_bytes_per_row): Validate the new value; reject invalid
entries and round up to a multiple of the word size.
(MemPref::apply): Read the value from the text box even if the user
has not pressed return.
(MemPref::enable_format): Ensure the bytes per row value is still valid.
(MemPref::disable_format): Likewise.
* library/mempref.ith (MemPref): Add $gbprlist.
* library/help/memory.html: Update.
|
|
|
|
|
| |
* library/helpviewer.tcl (open_help): Add firefox and opera to the
browser list used to display help.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/actiondlg.tcl:
* library/about.tcl:
* library/ehandler.itb:
* library/editor.tcl:
* library/download.ith:
* library/download.itb:
* library/debugwin.ith:
* library/debugwin.itb:
* library/cspref.ith:
* library/cspref.itb:
* library/console.ith:
* library/console.itb:
* library/browserwin.ith:
* library/browserwin.itb:
* library/bpwin.ith:
* library/bpwin.itb:
* library/blockframe.ith:
* library/managedwin.ith:
* library/managedwin.itb:
* library/main.tcl:
* library/locals.tcl:
* library/ipcpref.ith:
* library/ipcpref.itb:
* library/ipc.tcl:
* library/interface.tcl:
* library/helpviewer.tcl:
* library/globalpref.ith:
* library/globalpref.itb:
* library/gdbwin.ith:
* library/gdbtoolbar.itcl:
* library/gdbmenubar.itcl:
* library/gdbevent.ith:
* library/gdbevent.itb:
* library/embeddedwin.ith:
* library/ehandler.ith:
* library/srcwin.itb:
* library/srctextwin.ith:
* library/srctextwin.itb:
* library/srcpref.ith:
* library/srcpref.itb:
* library/srcbar.itcl:
* library/session.tcl:
* library/regwin.ith:
* library/regwin.itb:
* library/process.ith:
* library/process.itb:
* library/prefs.tcl:
* library/pluginwin.itcl:
* library/modal.tcl:
* library/memwin.ith:
* library/memwin.itb:
* library/mempref.ith:
* library/mempref.itb:
* library/watch.tcl:
* library/watch.tcl:
* library/warning.tcl:
* library/vartree.ith:
* library/vartree.itb:
* library/util.tcl:
* library/tracedlg.tcl:
* library/toplevelwin.ith:
* library/tfind_args.tcl:
* library/tdump.tcl:
* library/targetselection.ith:
* library/targetselection.itb:
* library/stackwin.ith:
* library/stackwin.itb:
* library/srcwin.ith:
|
|
|
|
|
|
| |
* library/prefs.tcl (pref_read): Read preferences file if environment
variable INSIGHT_FORCE_READ_PREFERENCES is set (regardless of -nx).
* README: Mention INSIGHT_FORCE_READ_PREFERENCES.
|
|
|
|
|
| |
* library/targetselection.itb (build_win): Only pack the xterm checkbutton
on unix platforms.
|
|
|
|
|
|
| |
* library/targetselection.itb (help): Implement.
(build_win): Don't disable help button.
Only display "use tty" option on unix hosts.
|
|
|
|
| |
the breakpoint condition, too -- include it in the lassign.
|
|
|
|
|
|
| |
* library/memwin.itb (update_address): Change parameter name
so that it does not shadow a member variable.
Save the updated address internally.
|
|
|
|
|
| |
* library/interface.tcl (gdbtk_tcl_warning): Filter "RTTI symbol not found"
"warnings", too.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the global
namespace. Fix references.
(gdbtk_tcl_fputs_log): Likewise.
From Steven Johnson <johnson@sakuraindustries.com>:
* library/interface.tcl (gdbtk_tcl_warning): Filter some basic warnings
from gdb - "incomplete CFI.." and "Internal error".
|
|
|
|
|
|
|
|
|
|
| |
* library/download.itb (Download::constructor): Remove
"-fraction" option from iwidgets feedback widget. It's not a valid
option!
(update_download): Compute the step number and use that to
update the feedback widget.
(done): Use completed_steps to figure out how many steps
the dumb feedback meter needs to show full.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/ipc.tcl: New file.
* library/ipcpref.ith: New file.
* library/ipcpref.itb: New file.
* library/srcwin.itb (SrcWin::inferior): Call ipc
send if enabled.
* library/prefs.tcl (pref_set_defaults): Enable color
schemes by default. Add IPC defaults.
* library/srcbar.itcl (create_pref_menu): Create
"Advanced" cascade menu and put "Edit Color Schemes"
and "IPC Support" under it.
* library/managedwin.itb (ManagedWin::destructor):
If IPC enabled then send "quit" on exit.
* library/main.tcl: Start IPC if enabled.
* library/prefs.tcl (pref_set_defaults): Add IPC defaults.
* library/gdbmenubar.itcl (menubar_get_current_menu):
New method.
|
|
|
|
|
|
|
| |
* library/targetselection.itb: Use /dev/comX for
cygwin instead of just comX.
* library/interface.tcl (gdbtk_tcl_preloop): Set baud rate.
|
|
|
|
|
|
| |
* generic/gdbtk.h: "ui_loop_hook" was deprecated, update.
* generic/gdbtk-hooks.c (gdbtk_add_hooks, x_event): Ditto.
* generic/gdbtk-cmds.c: Ditto.
|
|
|
|
|
|
| |
* generic/gdbtk-hooks.c (gdbtk_add_hooks): Update references to
pre_add_symbol_hook and post_add_symbol_hook, both deprecated.
* library/interface.tcl (gdbtk_memory_changed): Update comments.
|
|
|
|
|
| |
* library/tdump.tcl (build_win): Remove old nonworking
code to select scrolledtext mode. Just use "dynamic".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/session.tcl: Make hostname and portname
session-dependent. Add gdb_bg_num (the color
scheme number) as a per-session variable.
* library/prefs.tcl (pref_read): If color schemes are in use,
set colors based on the current scheme.
(pref_save): Add "bg" section.
(pref_set_defaults): Define new variable gdb/use_color_schemes
and define 16 default background colors.
* library/managedwin.itb (ManagedWin::window_name): Append
window "instance" string to window name.
(ManagedWin::window_instance): Set window instance string.
* library/debugwin.itb: Add a reconfig method to restore
unique black textbackground, overriding color scheme.
* library/csprefs.itb:
* library/csprefs.ith: New files. Implement color scheme
preferences.
* library/util.tcl (set_bg_colors): New function.
(r_setcolors): New function.
* library/regwin.itb (_prefs_changed): Deleted.
(reconfig): New function. Updates tkTable color tags
if color scheme changes.
* library/regwin.ith: Update to reflect above changes.
* library/srcbar.itcl (create_pref_menu): Add pulldown
menus for "Edit Color Schemes..." and "Use Color Schemes".
(reconfig): Fix up menu items for color schemes.
* library/globalpref.itb (_init_var): Add
gdb/use_color_schemes to variable list.
(_build_win): Add a checkbutton to enable/disable
color schemes.
* library/gdbmenubar.itcl (menubar_add_cascade): Add a class
argument so cascade menus can be managed by class too.
* library/interface.tcl (gdbtk_tcl_fputs): Check for
existence of gdbtk_state(console). Stops annoying error
messages.
(gdbtk_tcl_fputs_error): Ditto.
(gdbtk_tcl_fputs_log): Ditto.
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk-register.c (Gdbtk_Register_Init): Replace
calls to register_gdbarch_swap with deprecated_register_gdbarch_swap.
* library/srcwin.itb: Remove an apparently redundant call
to gdbtk_locate_main and location. This actually broken
situations where no source files were found.
|
|
|
|
|
| |
'option' must be the first thing on the line; they don't count if
they appear in the middle of the line.
|
|
|
|
|
|
| |
* library/prefs.tcl (pref_set_option_db): On Windows, fix
highlighting of buttons. On Unix, fix highlighting of
menus.
|
|
|
|
|
|
| |
* library/prefs.tcl (pref_set_option_db): Only
set checkbutton select color for Unix. Fixes Windows
checkbutton problem.
|
|
|
|
|
|
| |
* library/prefs.tcl (load_gnome_file): Fix parsing
of gtk theme files so Red Hat 9 (and others) GNOME colors
are correct.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* process.itb (build_win): Removed ide_sizebox instantiation that is
no longer required and is causing errors for win hosts.
* tdump.tcl (build_win): Ditto.
* locals.tcl (build_win): Removed ide_sizebox instantiation that is
no longer required and already commented out.
* regwin.itb (build_win): Ditto.
* srcwin.itb (constructor): Ditto.
* stackwin.itb (constructor): Ditto.
* watch.tcl (constructor): Ditto.
|
|
|
|
|
|
| |
* library/srctextwin.itb (SrcTextWin::FillAssembly):
Remove unused variables asm_lo_addr and asm_hi_addr.
(FillMixed): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk-cmds.c (Gdbtk_Init): Create gdb_CA_to_TAS.
(gdb_load_disassembly): Now takes CORE_ADDRs. Returns CORE_ADDRs
for low and high.
(gdbtk_load_asm): Use CORE_ADDRs.
(gdb_loc): Return CORE_ADDRs.
(gdb_entry_point): Return CORE_ADDR.
(gdb_incr_addr): Update description.
(gdb_CA_to_TAS): New function. Takes a CORE_ADDR and returns
a target sddress string.
* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Change to
take a CORE_ADDR.
(gdb_get_breakpoint_info): Returns a CORE_ADDR.
(gdb_set_bp_addr): Takes a CORE_ADDR.
* library/bpwin.itb (bp_add): Call gdb_CA_to_TAS before
displaying address.
(bp_modify): Ditto.
* library/srcwin.itb (location): Call gdb_CA_to_TAS before
displaying address. Don't add "0x" in front of address.
(set_execution_status): Call gdb_CA_to_TAS before
displaying address. Don't call [gdb_cmd printf] to format
output. Weird.
|
|
|
|
|
| |
* library/globalpref.itb (GlobalPref::_change_icons): Fix
curselection call for combobox.
|
|
|
|
|
| |
* library/help/images/browser1.png: New file.
* library/help/images/browser2.png: New file.
|
|
|
|
|
| |
* library/browserwin.itb: Set textbackground option to
$::Colors(textbg) instead of "white".
|
|
|
|
|
|
|
| |
* library/interface.tcl (gdbtk_attach_native): Don't force the user
to choose an exec file when attaching.
* library/attachdlg.itb: Some fixes to work with latest iwidgets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/prefs.tcl (pref_set_defaults): Remove prefs
gdb/browser/width, gdb/browser/top_height, gdb/browser/view_height,
gdb/browser/view_is_open. Add gdb/browser/layout.
* library/browserwin.ith: Update declarations to match
changes in browserwin.itb.
* library/browserwin.itb (constructor): Don't set toplevel
bindings. Set _layout from prefs.
(destructor): Don't check $resize_after. Don't save view_is_open.
(_build_win): Create a popup menu and bind to button 3.
Split the rest into 4 functions; _build_file_frame,
_build_filter_frame, _build_function_frame, and _build_view_frame.
Pack these 4 frames according to $_layout.
(_toggle_more): Deleted.
(_bind_toplevel): Deleted.
(_do_resize): Deleted.
(_resize): Deleted.
(_fill_source): Always fill because source is always visible.
(_fill_funcs_combo): Limit width of combo to 40 chars.
(_build_filter_frame): New function.
(_build_file_frame): New function.
(_build_function_frame): New function.
(_build_view_frame): New function.
(_switch_layout): New function. Toggle between layouts.
* library/tclIndex: Rebuilt.
* library/help/browser.html: Rewrite.
|
|
|
|
| |
* library/targetselection.itb (TargetSelection::build_win): Remove duplicate label.
|
|
|
|
|
|
|
|
|
|
|
| |
* library/globalpref.itb, library/mempref.itb, library/srcpref.itb,
library/srcwin.itb, library/targetselection.itb, library/tracedlg.tcl:
Set background color of comboboxes to Colors(textbg).
* library/main.tcl: Load combobox version 2.2.
* library/prefs.tcl: Minor optimization. Change order of main_names
to have the most common, "main", first.
|
|
|
|
|
|
| |
* library/targetselection.itb (TargetSelection::port_list): Keep
checking ports on Windows until we can open no more. Replaces
fixed limit of 9.
|
|
|
|
| |
* library/session.tcl (_recreate_bps): Catch errors.
|
|
|
|
|
|
|
| |
* library/interface.tcl (gdbtk_locate_main): Rewrite for efficiency.
No longer uses gdb_search. Caches result.
(initialize_gdbtk): Initialize gdb_locate_main cache.
* library/main.tcl: Call initialize_gdbtk after loading prefs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/main.tcl: Don't require iwidgets 3.0.
* library/console.itb (Console::_build_win): Rename
tkTextClosestGap to tk::TextClosestGap. Rename tkCancelRepeat
to tk::CancelRepeat. Rename tkPriv to tk::Priv. Needed for tk 8.4.1.
* library/bpwin.itb (BpWin::build_win): Don't
create sizebox.
* library/locals.tcl (build_win): Ditto.
* library/regwin.itb (RegWin::_build_win): Ditto.
* library/srcwin.itb (SrcWin::constructor): Ditto.
* library/stackwin.itb (StackWin::build_win): Ditto.
* library/watch.tcl (build_win): Ditto.
|
|
|
|
|
|
|
|
|
|
| |
* library/srcbar.itcl (SrcBar): Don't load vmake icon.
* library/images: Removed back.gif, build.gif, file.gif, fore.gif,
gdbtk.gif, opt.gif, tools.gif, tools2_3d.gif, and vmake.gif.
* library/images2: Removed back.gif, build.gif, file.gif, fore.gif,
gdbtk.gif, load.gif, opt.gif, tools.gif, tools2_3d.gif, and vmake.gif.
|
| |
|
|
|
|
| |
* library/main.tcl: Don't try to print errors to stderr on Windows.
|
|
|
|
|
|
|
|
| |
* library/regwin.itb (RegWin::update): When updating, check
that a cell still exists before checking its value.
(RegWin::_select_group): Clear cells with changed values before
changing group. After new group is selected, highlight any changed
values still visible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/interface.tcl (gdbtk_tcl_fputs_target_err):
New function.
(gdbtk_tcl_fputs_target): Open console window if it is
not already open.
(gdbtk_gets): New function.
Opens a console window if necessary and calls Console::gets.
* library/console.ith (gets): Declare method.
(_input_mode): New private variable.
(_input_result): Ditto.
(_input_error): Ditto.
(_cancel): New private method
(invoke): Add arg.
* library/console.itb (_setprompt): Allow setting prompt
to nothing. Delete to beginning of line before writing prompt.
(gets): New public method to prompt user for input.
(_cancel): New private method to handle ^C when inputting data.
(invoke): Check for ^d when in input mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/regwin.itb (_load_prefs): Get list of registers from
the group name.
(_build_win): Remove old menu system. Replace with an optionmenu
that contains all the valid group names for this architecture.
(_layout_table): No need to update old menu.
(_but3): Add "Close" to popup menu.
(_delete_from_display): No need to update old menu.
(_display_all): Ditto.
(_post_menu): Deleted.
(_select_group): New method. Callback for group optionmenu.
* library/regwin.ith: New private variable _group.
New private method _select_group. Removed _post_menu.
* generic/gdbtk-register.c: Include reggroups.h.
(gdb_register_info): Add "group" and "grouplist".
(gdb_regformat): Fix Tcl_WrongNumArgs call so it doesn't crash.
(gdb_reggrouplist): New function. Returns the names of the
register groups.
(gdb_reggroup): New function. Returns the register numbers of the
registers in a group.
|
|
|
|
|
|
| |
* library/regwin.itb (update): Revert previous patch to this
function. But also don't tag blank cells.
(_but3): Fix help call.
|
|
|
|
|
|
| |
* library/helpviewer.tcl (open_help): Fix KDE apps list.
* library/debugwin.itb (build_win): Fix help call.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/regwin.itb (update): Remove some old code
that marked registers as changed when the target started.
(_build_win): Make changed registers more visible by
changing their bg to Colors(change).
* library/prefs.tcl (pref_set_option_db): Create a new
Color(change) which is the color of text indicating a change.
Current default is green.
* library/vartree.itb (_init_data): Make changed values
Color(change). Can't change bg, so we change fill color.
|
| |
|