OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [gdbtcl/] [help/] [locals.html] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
<HTML>
2
<HEAD>
3
<TITLE>Locals Window Help</TITLE>
4
</HEAD>
5
<BODY>
6
<H1>The Locals Window</H1>
7
<H2>Overview</H2>
8
<P>The Locals Window displays all local variables in scope. It may be used to
9
visualize and edit local variables.</P>
10
 
11
<P>Locals Window topics:
12
<UL>
13
    <LI><UL><A HREF="#menus">Variable Menu</A>
14
            <LI><A HREF="#menus_edit">Edit</A>
15
            <LI><A HREF="#menus_fmt">Format</A>
16
        </UL>
17
    <LI><UL><A HREF="#display">Locals Display</A>
18
            <LI><A HREF="#display_deref">Dereferencing Pointers</A>
19
            <LI><A HREF="#display_struct">Viewing a Structure or Class</A>
20
            <LI><A HREF="#display_edit">Editing a Variable</A>
21
            <LI><A HREF="#display_popup">Locals Pop-up Menu</A>
22
        </UL>
23
</UL></P>
24
 
25
<H3><A NAME="menus">Variable Menu</A></H3>
26
The Variable Menu gives on-screen access to the funtions of the Locals Window.
27
To use any of these functions, first use the left mouse button to select a
28
variable from the display. Then select:
29
 
30
<DL>
31
    <DT><A NAME="menus_edit">Edit</A>
32
        <DD>Edit the value of the variable
33
    <DT><A NAME="menus_fmt">Format</A>
34
        <DD>Change the display format of the variable
35
</DL>
36
 
37
<H3><A NAME="display">Locals Display</A></H4>
38
The Locals Window Display consists of a scrolled listbox which contains all
39
local variables, one per line. To use any of the functions of the Locals Window,
40
use the left mouse button to select any element from the Display.
41
 
42
<P>Pointers, structures, and classes appear in the display with small exapansion
43
box before their names. To <A NAME="display_deref">dereference pointers</A> or
44
<A NAME="display_struct">view the members of classes or structures</A>, click
45
the closed expansion box (which appears as a small plus sign, "+") to "expand"
46
the listing. The expansion box changes to a minus sign, "-", indicating that the
47
display is now open. Pointers, structures and classes may be expanded recursively
48
to allow multiple pointer dereferences and embedded structure viewing.
49
 
50
<P>The Locals Display updates after every execution of the program and highlights
51
in blue those variables whose values have changed.</P>
52
 
53
<P>The Locals Window will, by default, display all pointers in hexadecimal and all
54
other variables in decimal. To change the display format for a variable, select
55
the Format option from either the Variable Menu or the <A HREF="#display_popup">
56
Locals Pop-up Menu</A>.
57
<BR>
58
 
59
<H4><A NAME="display_edit">Editing a Variable</A></H4>
60
To edit a variable, either double-click the left mouse button on the variable in
61
the Display or select the Edit option from either the Variable Menu or the Locals
62
Pop-up Menu. To abort editing a variable's value, simply press the escape key on
63
the keybaord. The variable's original value is restored.
64
<BR>
65
 
66
<H4><A NAME="display_popup">Locals Pop-up Menu</A></H4>
67
The Locals Pop-up Menu provides quick access to the functions of the Locals Window.
68
To use the Locals Pop-up Menu, first select a variable from the Display (by clicking
69
the left mouse button on it) and click the right mouse button, choosing from the
70
pop-up:
71
<DL>
72
    <DT>Edit
73
        <DD>Edit the variable's value. See <A HREF="#display_edit"> Editing a Variable
74
            </A>
75
    <DT>Format
76
        <DD>Change the display format of the variable. The variable may be displayed
77
            as:
78
            <DL>
79
                <DT>Hex
80
                    <DD>hexadecimal (base 16)
81
                <DT>Decimal
82
                    <DD>decimal (base 10)
83
                <DT>Binary
84
                    <DD>binary (base 2)
85
                <DT>Octal
86
                    <DD>octal (base 8)
87
            </DL>
88
</DL>
89
</BODY>
90
</HTML>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.