summaryrefslogtreecommitdiff
path: root/gdb/gdbtk/library
Commit message (Collapse)AuthorAgeFilesLines
* Import readline 5.1 on the branch.readline_5_1-import-branchcvs/readline_5_1-import-branchDaniel Jacobowitz2006-04-24216-34746/+0
|
* From Andrew Stubbs <andrew.stubbs@st.com>:Keith Seitz2006-01-241-1/+9
| | | | * library/help/source.html: Add entries for the missing menu commands.
* From Andrew Stubbs <andrew.stubbs@st.com>:Keith Seitz2006-01-243-11/+52
| | | | | | | | | | | | | * 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.
* From Andrew Stubbs <andrew.stubbs@st.com>:Keith Seitz2006-01-241-3/+3
| | | | | * library/helpviewer.tcl (open_help): Add firefox and opera to the browser list used to display help.
* Undo accidental changes to image files.Daniel Jacobowitz2005-12-2342-0/+0
|
* * library/attachdlg.itb:Eli Zaretskii2005-12-23111-70/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* 2005-11-29 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2005-11-291-1/+2
| | | | | | * 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.
* From Spencer Oliver <spencer.oliver@anglia.com>:Keith Seitz2005-11-111-1/+3
| | | | | * library/targetselection.itb (build_win): Only pack the xterm checkbutton on unix platforms.
* * library/help/target.html: Update dialog options.Keith Seitz2005-09-012-6/+18
| | | | | | * library/targetselection.itb (help): Implement. (build_win): Don't disable help button. Only display "use tty" option on unix hosts.
* * library/bpwin.itb (bp_store): gdb_get_breakpoint_info outputsKeith Seitz2005-09-011-1/+1
| | | | the breakpoint condition, too -- include it in the lassign.
* From Dieter Ruppert <dieter_ruppert@siemens.com>:Keith Seitz2005-09-011-8/+10
| | | | | | * library/memwin.itb (update_address): Change parameter name so that it does not shadow a member variable. Save the updated address internally.
* From Charles Brockman <mr hyphen chuck at att dot net>:Keith Seitz2005-06-141-0/+1
| | | | | * library/interface.tcl (gdbtk_tcl_warning): Filter "RTTI symbol not found" "warnings", too.
* Grrr. Remove debugging lines from previous patch.Keith Seitz2005-06-071-5/+1
|
* * library/interface.tcl (gdbtk_tcl_fputs_error): gdbtk_state is in ↵Keith Seitz2005-06-071-2/+8
| | | | | | | | | | | 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.ith (completed_steps): New variable.Keith Seitz2004-12-082-5/+28
| | | | | | | | | | * 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.
* 2004-08-27 Martin Hunt <hunt@redhat.com>Martin Hunt2004-08-2711-16/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2004-07-02 Martin Hunt <hunt@redhat.com>Martin Hunt2004-07-022-3/+4
| | | | | | | * library/targetselection.itb: Use /dev/comX for cygwin instead of just comX. * library/interface.tcl (gdbtk_tcl_preloop): Set baud rate.
* 2004-06-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-06-251-9/+10
| | | | | | * generic/gdbtk.h: "ui_loop_hook" was deprecated, update. * generic/gdbtk-hooks.c (gdbtk_add_hooks, x_event): Ditto. * generic/gdbtk-cmds.c: Ditto.
* 2004-06-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-06-241-2/+2
| | | | | | * 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.
* 2004-05-27 Martin Hunt <hunt@redhat.com>Martin Hunt2004-05-271-3/+3
| | | | | * library/tdump.tcl (build_win): Remove old nonworking code to select scrolledtext mode. Just use "dynamic".
* 2004-04-05 Martin Hunt <hunt@redhat.com>Martin Hunt2004-04-0516-43/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2004-02-17 Martin Hunt <hunt@redhat.com>Martin Hunt2004-02-171-4/+0
| | | | | | | | | * 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.
* * library/prefs.tcl (pref_read): The section marker or the wordJim Blandy2003-12-111-2/+2
| | | | | 'option' must be the first thing on the line; they don't count if they appear in the middle of the line.
* 2003-07-29 Martin Hunt <hunt@redhat.com>Martin Hunt2003-07-291-1/+7
| | | | | | * library/prefs.tcl (pref_set_option_db): On Windows, fix highlighting of buttons. On Unix, fix highlighting of menus.
* 2003-07-02 Martin Hunt <hunt@redhat.com>Martin Hunt2003-07-021-1/+3
| | | | | | * library/prefs.tcl (pref_set_option_db): Only set checkbutton select color for Unix. Fixes Windows checkbutton problem.
* 2003-06-13 Martin Hunt <hunt@redhat.com>Martin Hunt2003-06-131-6/+14
| | | | | | * library/prefs.tcl (load_gnome_file): Fix parsing of gtk theme files so Red Hat 9 (and others) GNOME colors are correct.
* From Nick Kelsey <nickk@ubicom.com>:Keith Seitz2003-03-277-48/+0
| | | | | | | | | | | | * 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.
* 2003-03-05 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-03-061-6/+2
| | | | | | * library/srctextwin.itb (SrcTextWin::FillAssembly): Remove unused variables asm_lo_addr and asm_hi_addr. (FillMixed): Ditto.
* 2003-03-05 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-03-062-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2003-02-14 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-151-2/+1
| | | | | * library/globalpref.itb (GlobalPref::_change_icons): Fix curselection call for combobox.
* 2003-02-11 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-122-0/+0
| | | | | * library/help/images/browser1.png: New file. * library/help/images/browser2.png: New file.
* 2003-02-10 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-101-1/+1
| | | | | * library/browserwin.itb: Set textbackground option to $::Colors(textbg) instead of "white".
* 2003-02-10 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-102-48/+49
| | | | | | | * 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.
* 2003-02-10 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-105-604/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2003-02-03 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-041-4/+2
| | | | * library/targetselection.itb (TargetSelection::build_win): Remove duplicate label.
* 2003-02-03 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-048-19/+22
| | | | | | | | | | | * 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.
* 2003-02-03 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-041-1/+5
| | | | | | * library/targetselection.itb (TargetSelection::port_list): Keep checking ports on Windows until we can open no more. Replaces fixed limit of 9.
* 2003-02-03 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-041-1/+3
| | | | * library/session.tcl (_recreate_bps): Catch errors.
* 2003-02-03 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-02-042-15/+24
| | | | | | | * 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.
* 2003-01-21 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-01-218-38/+30
| | | | | | | | | | | | | | | | * 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.
* 2002-12-20 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-2020-1/+1
| | | | | | | | | | * 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.
* Updated Help.Martin Hunt2002-12-1913-291/+181
|
* 2002-12-18 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-191-2/+6
| | | | * library/main.tcl: Don't try to print errors to stderr on Windows.
* 2002-12-18 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-191-3/+19
| | | | | | | | * 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.
* 2002-12-17 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-183-11/+83
| | | | | | | | | | | | | | | | | | | | | | * 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.
* 2002-12-17 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-172-158/+50
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2002-12-05 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-051-4/+17
| | | | | | * library/regwin.itb (update): Revert previous patch to this function. But also don't tag blank cells. (_but3): Fix help call.
* 2002-12-04 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-042-4/+2
| | | | | | * library/helpviewer.tcl (open_help): Fix KDE apps list. * library/debugwin.itb (build_win): Fix help call.
* 2002-12-04 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-043-17/+9
| | | | | | | | | | | | | | * 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.
* Fix previous checkin.Martin Hunt2002-12-041-1/+1
|