source: rtems/doc/rtems_gdb/commands.t @ 387f41a

4.104.114.84.95
Last change on this file since 387f41a was 387f41a, checked in by Joel Sherrill <joel.sherrill@…>, on 02/10/99 at 18:33:15

Base version.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1998.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  $Id$
7@c
8
9@section Commands
10
11The usual GDB commands are available to display or modify data structures and
12machine registers, disassemble code, display source listings, set and reset
13breakpoints, control the debuggee execution, etc. Refer to Debugging with GDB
14for a complete documentation of the standard GDB commands.
15
16GDB 4.17 has been extended with a number of commands specifically
17for multi-threaded debugging within a RTEMS host-target environment. These commands
18are described in this section.
19
20
21@subsection Host-target connection control
22
23@itemize
24@item (gdb) setrpcmode sun : specifies the SUN RPC type.
25@item (gdb) setdaemontype rdbg : specifies the RDBG debug server type.
26@item (gdb) target rtems target-name : specifies the target type.
27@end itemize
28
29@subsection System status information
30
31@itemize
32@item (gdb) info threads : gives a list of all threads in the debuggee,
33their names, identifiers and states. It also indicates which thread is
34the target thread.
35@end itemize
36
37
38@subsection Thread control
39
40@itemize
41@item (gdb) thread target [id] : allows the user to get/set the target thread.
42The argument id is either the thread's symbolic name or its local identifier.
43@item (gdb) thread detach [id...] : all stops (breakpoints) of some specified
44thread(s) can be ignored using the thread detach command. Each time a detached
45thread hits a breakpoint, RTEMS/GDB will automatically restart the debuggee
46without passing control to the user.
47@item (gdb) thread attach [id...] : (re)attach specified thread(s).
48@end itemize
49
50
51
Note: See TracBrowser for help on using the repository browser.