URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [insight/] [gdb/] [gdbtcl/] [memwin.ith] - Rev 1765
Compare with Previous | Blame | View Log
# Memory display window class definition for Insight.# Copyright 1998, 1999, 2001 Red Hat, Inc.## This program is free software; you can redistribute it and/or modify it# under the terms of the GNU General Public License (GPL) as published by# the Free Software Foundation; either version 2 of the License, or (at# your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.class MemWin {inherit EmbeddedWin GDBWinprivate {variable saved_addr ""variable current_addr ""variable dont_size 0variable mbar 1variable bgvariable topvariable nb 128variable prefs_win ""variable Running 0variable Numrows 0variable Numcols 0variable saved_valuevariable maxlenvariable maxalenvariable rheight ""variable new_entry 0method build_win {}method init_addr_exp {}method cursor {glyph}}public {variable addr_exp ""variable size 4variable format xvariable bytes_per_row 16variable numbytes 0variable ascii 1variable ascii_char "."variable color green}protected common typepublic {method constructor {args}method destructor {}method paste {x y}method validate {val}method create_prefs {}method changed_cell {from to}method edit {cell}method toggle_enabled {}method newsize {height}method update_address_cb {}method update_address { {ae ""} }method BadExpr {errTxt}method incr_addr {num}method update_addrmethod hidemb {}method reconfig {}method do_popup {x y}method goto {addr}method memMoveCell {w x y}method error_dialog {msg {modality task} {type ok}}## GDB Events#method busy {event}method idle {event}method update {event}}}
