summaryrefslogtreecommitdiffstats
path: root/doc/rtems_gdb/commands.t
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-10 18:33:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-10 18:33:15 +0000
commit387f41adcd32dff7b7de7fe34a8637692ee7c7b1 (patch)
tree677a23401bc9494034f2e95f9f74f1adcaa78a4b /doc/rtems_gdb/commands.t
parentchanged version to 19990210 (diff)
downloadrtems-387f41adcd32dff7b7de7fe34a8637692ee7c7b1.tar.bz2
Base version.
Diffstat (limited to 'doc/rtems_gdb/commands.t')
-rw-r--r--doc/rtems_gdb/commands.t51
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/rtems_gdb/commands.t b/doc/rtems_gdb/commands.t
new file mode 100644
index 0000000000..fa2d27f8ff
--- /dev/null
+++ b/doc/rtems_gdb/commands.t
@@ -0,0 +1,51 @@
+@c
+@c COPYRIGHT (c) 1988-1998.
+@c On-Line Applications Research Corporation (OAR).
+@c All rights reserved.
+@c
+@c $Id$
+@c
+
+@section Commands
+
+The usual GDB commands are available to display or modify data structures and
+machine registers, disassemble code, display source listings, set and reset
+breakpoints, control the debuggee execution, etc. Refer to Debugging with GDB
+for a complete documentation of the standard GDB commands.
+
+GDB 4.17 has been extended with a number of commands specifically
+for multi-threaded debugging within a RTEMS host-target environment. These commands
+are described in this section.
+
+
+@subsection Host-target connection control
+
+@itemize
+@item (gdb) setrpcmode sun : specifies the SUN RPC type.
+@item (gdb) setdaemontype rdbg : specifies the RDBG debug server type.
+@item (gdb) target rtems target-name : specifies the target type.
+@end itemize
+
+@subsection System status information
+
+@itemize
+@item (gdb) info threads : gives a list of all threads in the debuggee,
+their names, identifiers and states. It also indicates which thread is
+the target thread.
+@end itemize
+
+
+@subsection Thread control
+
+@itemize
+@item (gdb) thread target [id] : allows the user to get/set the target thread.
+The argument id is either the thread's symbolic name or its local identifier.
+@item (gdb) thread detach [id...] : all stops (breakpoints) of some specified
+thread(s) can be ignored using the thread detach command. Each time a detached
+thread hits a breakpoint, RTEMS/GDB will automatically restart the debuggee
+without passing control to the user.
+@item (gdb) thread attach [id...] : (re)attach specified thread(s).
+@end itemize
+
+
+