Now generates HTML, PostScript, and info correctly.

This commit is contained in:
Joel Sherrill
1999-02-10 18:54:14 +00:00
parent 89d177ebb0
commit 7b597b8540
7 changed files with 42 additions and 63 deletions
+11 -12
View File
@@ -19,8 +19,7 @@ dirs:
COMMON_FILES=../common/cpright.texi ../common/setup.texi COMMON_FILES=../common/cpright.texi ../common/setup.texi
GENERATED_FILES= \ GENERATED_FILES= \
intro.t swarch.t started.t commands.t trouble.t example.t intro.texi swarch.texi started.texi commands.texi trouble.texi example.texi
FILES=$(PROJECT).texi $(GENERATED_FILES) FILES=$(PROJECT).texi $(GENERATED_FILES)
@@ -63,30 +62,30 @@ clean:
intro.texi: intro.t Makefile intro.texi: intro.t Makefile
$(BMENU) -p "Top" \ $(BMENU) -p "Top" \
-u "Top" \ -u "Top" \
-n "" ${*}.t -n "Software Architecture" ${*}.t
swarch.texi: swarch.t Makefile swarch.texi: swarch.t Makefile
$(BMENU) -p "Top" \ $(BMENU) -p "Introduction" \
-u "Top" \ -u "Top" \
-n "" ${*}.t -n "Getting Started" ${*}.t
started.texi: started.t Makefile started.texi: started.t Makefile
$(BMENU) -p "Top" \ $(BMENU) -p "Software Architecture" \
-u "Top" \ -u "Top" \
-n "" ${*}.t -n "Commands" ${*}.t
commands.texi: commands.t Makefile commands.texi: commands.t Makefile
$(BMENU) -p "Top" \ $(BMENU) -p "Getting Started Attaching To The System" \
-u "Top" \ -u "Top" \
-n "" ${*}.t -n "Troubleshooting" ${*}.t
trouble.texi: trouble.t Makefile trouble.texi: trouble.t Makefile
$(BMENU) -p "Top" \ $(BMENU) -p "Commands Thread control" \
-u "Top" \ -u "Top" \
-n "" ${*}.t -n "Debug Session Example" ${*}.t
example.texi: example.t Makefile example.texi: example.t Makefile
$(BMENU) -p "Top" \ $(BMENU) -p "Troubleshooting Debug server not present" \
-u "Top" \ -u "Top" \
-n "" ${*}.t -n "" ${*}.t
+7 -7
View File
@@ -6,7 +6,7 @@
@c $Id$ @c $Id$
@c @c
@section Commands @chapter Commands
The usual GDB commands are available to display or modify data structures and The usual GDB commands are available to display or modify data structures and
machine registers, disassemble code, display source listings, set and reset machine registers, disassemble code, display source listings, set and reset
@@ -18,26 +18,26 @@ for multi-threaded debugging within a RTEMS host-target environment. These comma
are described in this section. are described in this section.
@subsection Host-target connection control @section Host-target connection control
@itemize @itemize @bullet
@item (gdb) setrpcmode sun : specifies the SUN RPC type. @item (gdb) setrpcmode sun : specifies the SUN RPC type.
@item (gdb) setdaemontype rdbg : specifies the RDBG debug server type. @item (gdb) setdaemontype rdbg : specifies the RDBG debug server type.
@item (gdb) target rtems target-name : specifies the target type. @item (gdb) target rtems target-name : specifies the target type.
@end itemize @end itemize
@subsection System status information @section System status information
@itemize @itemize @bullet
@item (gdb) info threads : gives a list of all threads in the debuggee, @item (gdb) info threads : gives a list of all threads in the debuggee,
their names, identifiers and states. It also indicates which thread is their names, identifiers and states. It also indicates which thread is
the target thread. the target thread.
@end itemize @end itemize
@subsection Thread control @section Thread control
@itemize @itemize @bullet
@item (gdb) thread target [id] : allows the user to get/set the target thread. @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. 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 @item (gdb) thread detach [id...] : all stops (breakpoints) of some specified
+1 -1
View File
@@ -6,7 +6,7 @@
@c $Id$ @c $Id$
@c @c
@section Debug Session Example @chapter Debug Session Example
@example @example
GNU gdb 4.17 GNU gdb 4.17
+4
View File
@@ -16,3 +16,7 @@ This paper documents @b{only} the RTEMS/GDB extensions to GNU
GDB 4.17, as well as its use in the RTEMS environment. The reader is assumed GDB 4.17, as well as its use in the RTEMS environment. The reader is assumed
to be familiar with GNU GDB. to be familiar with GNU GDB.
The RTEMS project would like to thank Emmanuel Raguet (raguet@crf.canon.fr)
and Eric Valette (valette@crf.canon.fr) of the Canon Research Centre
France S.A. for developing and documenting RTEMS/GDB and submitting it.
+11 -29
View File
@@ -64,43 +64,25 @@ END-INFO-DIR-ENTRY
@c The alternative is to rework a sentence to avoid this problem. @c The alternative is to rework a sentence to avoid this problem.
@include intro.texi @include intro.texi
@include target.texi @include swarch.texi
@include makefiles.texi @include started.texi
@include linkcmds.texi @include commands.texi
@include support.texi @include trouble.texi
@include init.texi @include example.texi
@include console.texi
@include clock.texi
@include timer.texi
@include rtc.texi
@include nvmem.texi
@include network.texi
@include shmsupp.texi
@include analog.texi
@include discrete.texi
@ifinfo @ifinfo
@node Top, Introduction, (dir), (dir) @node Top, Introduction, (dir), (dir)
@top rtems_gdb @top rtems_gdb
This is the online version of the Getting Started with RTEMS for C/C++ Users. This is the online version of the RTEMS/GDB User's Guide.
@menu @menu
* Introduction:: * Introduction::
* Target Dependent Files:: * Software Architecture::
* Makefiles:: * Getting Started::
* Linker Script:: * Commands::
* Miscellaneous Support Files:: * Troubleshooting::
* Initialization Code:: * Debug Session Example::
* Console Driver::
* Clock Driver::
* Timer Driver::
* Real-Time Clock Driver::
* Networking Driver::
* Non-Volatile Memory Driver::
* Shared Memory Support Driver::
* Analog Driver::
* Discrete Driver::
@end menu @end menu
@c * Command and Variable Index:: @c * Command and Variable Index::
+4 -8
View File
@@ -7,32 +7,28 @@
@c @c
@section Getting Started @chapter Getting Started
This section describes the steps which are necessary to set up a This section describes the steps which are necessary to set up a
debugging session with RTEMS/GDB. debugging session with RTEMS/GDB.
@subsection Compiling The System Components @section Compiling The System Components
The components that need to be debugged have to be compiled with the -g option The components that need to be debugged have to be compiled with the -g option
in order the generated file to contain the required information for the debug in order the generated file to contain the required information for the debug
session. session.
@subsection Starting a debugging session @section Starting a debugging session
After having launched GDB, the user must connect to the RTEMS target with the After having launched GDB, the user must connect to the RTEMS target with the
following commands: following commands:
@example @example
(gdb) setrpcmode sun (gdb) setrpcmode sun
(gdb) setdaemontype rdbg (gdb) setdaemontype rdbg
(gdb) target rtems target-name (gdb) target rtems target-name
@end example @end example
Then he can use the file GDB command to specify the binary to be debugged. Then he can use the file GDB command to specify the binary to be debugged.
@@ -42,7 +38,7 @@ file. Each time, the user will launch GDB, it will execute this initialization
sequence. sequence.
@subsection Attaching To The System @section Attaching To The System
The entire target system is viewed as a single multi-threaded process, The entire target system is viewed as a single multi-threaded process,
the identifier of which is 1. To attach, use: the identifier of which is 1. To attach, use:
+4 -6
View File
@@ -7,13 +7,13 @@
@c @c
@section Troubleshooting @chapter Troubleshooting
This section describes symptoms in some situations where the debugger does not This section describes symptoms in some situations where the debugger does not
work correctly, and it gives guidelines for resolving the problems encountered. work correctly, and it gives guidelines for resolving the problems encountered.
@subsection Target machine name unknown on the host @section Target machine name unknown on the host
RTEMS/GDB fails to connect to target machine named my_target: RTEMS/GDB fails to connect to target machine named my_target:
@@ -28,17 +28,15 @@ host address.
Internet number of machine my_target in the file /etc/hosts on your host machine. } Internet number of machine my_target in the file /etc/hosts on your host machine. }
@subsection{Debug server not present @section Debug server not present
The target rtems command fails: The target rtems command fails:
@example @example
(gdb) target rtems my_target
(gdb) target rtems my\_target
Attaching remote machine across net... RPC timed out. Couldn't connect Attaching remote machine across net... RPC timed out. Couldn't connect
to remote target to remote target
@end example @end example