URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
<HTML>
|
2 |
|
|
<HEAD>
|
3 |
|
|
<TITLE>Thread Window Help</TITLE>
|
4 |
|
|
</HEAD>
|
5 |
|
|
<BODY>
|
6 |
|
|
|
7 |
|
|
<CENTER>
|
8 |
|
|
<H2>The Thread Window</H2>
|
9 |
|
|
</CENTER>
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
<BR>The Thread Window displays a list of threads and/or processes. The exact
|
13 |
|
|
contents are OS-specific.
|
14 |
|
|
|
15 |
|
|
<UL>
|
16 |
|
|
<LI><A HREF="#display">Thread Display</A></LI>
|
17 |
|
|
<LI><A HREF="#current">Changing the Current Thread</A></LI>
|
18 |
|
|
<LI><A HREF="#bp">Setting Breakpoints on Thread(s)</A></LI>
|
19 |
|
|
</UL>
|
20 |
|
|
|
21 |
|
|
<H2><A NAME="display">Thread Display</A></H2>
|
22 |
|
|
The Thread Display consists of a listbox which displays information on
|
23 |
|
|
threads and/or processes that are part of the executable being debugged.
|
24 |
|
|
The first column is the GDB thread number, which is used internally by GDB
|
25 |
|
|
to track the thread. The rest of the columns are OS-dependent. The output is identical
|
26 |
|
|
to the output of the console command "info threads".
|
27 |
|
|
<BR>
|
28 |
|
|
|
29 |
|
|
<H2><A NAME="current">Changing the Current Thread</A></H2>
|
30 |
|
|
The source window can only display the current location and source for one thread
|
31 |
|
|
at a time. That thread is called the "current thread".
|
32 |
|
|
To change the current thread, simply click the left mouse button on the desired
|
33 |
|
|
line and the
|
34 |
|
|
debugger will switch contexts, updating all windows. The current thread will
|
35 |
|
|
be highlighted.
|
36 |
|
|
<BR>
|
37 |
|
|
|
38 |
|
|
<H2><A NAME="bp">Setting Breakpoints on Thread(s)</A></H2>
|
39 |
|
|
Normally if you set a breakpoint on a line or function, every thread that hits
|
40 |
|
|
that location will stop execution and return to the debugger. To set a breakpoint
|
41 |
|
|
or a specific thread or threads, you need to use the source window. See
|
42 |
|
|
<A HREF="source.html#thread_bp">Set Breakpoint on Threads</A>
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
</BODY>
|
46 |
|
|
</HTML>
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.