source: rtems/doc/rtems_gdb/commands.t @ 26f9f12

4.104.114.84.95
Last change on this file since 26f9f12 was 6449498, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 17, 2002 at 9:47:47 PM

2001-01-17 Joel Sherrill <joel@…>

  • SUPPORT, LICENSE: New files.
  • Numerous files touched as part of merging the 4.5 branch onto the mainline development trunk and ensuring that the script that cuts snapshots and releases works on the documentation.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-2002.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  $Id$
7@c
8
9@chapter 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@section Host-target connection control
22
23@itemize @bullet
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@section System status information
30
31@itemize @bullet
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@section Thread control
39
40@itemize @bullet
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.