Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / docs / ui-cmds / cmd_where.html
CommitLineData
920dae64
AT
1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2<html>
3<head>
4<title>SPARC Architectural Model: User Commands</title>
5</head>
6<body bgcolor="#FFFFFF" LANG="en-US">
7<div STYLE="margin-bottom: 0cm"></div>&nbsp;
8
9<h2>
10where
11</h2>
12
13<h4>
14NAME
15</h4>
16<ul>
17where - display current pc value and call stack
18</ul>
19
20<h4>SYNOPSIS</h4>
21<tt>
22<ul>
23where
24</ul>
25</tt>
26
27<h4>DESCRIPTION</h4>
28<ul>
29Displays the call stack for all cpus.
30If symbol information is loaded, where will display corresponding
31routine names on the stack.
32<p>
33Example:
34<br><br>
35stop: where<br>
36cpu[0]: pc=0x12c7bc q:c_bzero+0x1c<br>
37called from address 0x124014 q:init_hv_internals+0x74<br>
38</ul>
39
40<h4>RETURN VALUES</h4>
41<ul>
42The call stack for all cpus.
43</ul>
44
45<h4>SEE ALSO</h4>
46
47<hr>
48</body>
49</html>