summaryrefslogtreecommitdiffstats
path: root/doc/rtems_gdb
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-25 17:37:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-25 17:37:19 +0000
commitee0702ef5ed83b14b2ed6ff4079042bf2807d660 (patch)
tree48cf10e27b9c4b3186e8a213a012157996c8f512 /doc/rtems_gdb
parent0d01c94b24898361354c08812721c3efaee9e5ca (diff)
downloadrtems-ee0702ef5ed83b14b2ed6ff4079042bf2807d660.tar.bz2
Fixing many lines that are too long to format cleanly.
Diffstat (limited to 'doc/rtems_gdb')
-rw-r--r--doc/rtems_gdb/example.t38
-rw-r--r--doc/rtems_gdb/trouble.t4
2 files changed, 27 insertions, 15 deletions
diff --git a/doc/rtems_gdb/example.t b/doc/rtems_gdb/example.t
index fd485a97e8..3491037316 100644
--- a/doc/rtems_gdb/example.t
+++ b/doc/rtems_gdb/example.t
@@ -8,14 +8,18 @@
@chapter Debug Session Example
+The following is a debug session. Note that some lines have been broken
+to aviod formatting problems in the printed document.
+
@example
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
-GDB is free software, covered by the GNU General Public License, and you are
-welcome to change it and/or distribute copies of it under certain conditions.
-Type "show copying" to see the conditions.
-There is absolutely no warranty for GDB. Type "show warranty" for details.
-This GDB was configured as --host=i686-pc-linux-gnu --target=i386-rtems".
+GDB is free software, covered by the GNU General Public License, and
+you are welcome to change it and/or distribute copies of it under
+certain conditions. Type "show copying" to see the conditions.
+There is absolutely no warranty for GDB.
+Type "show warranty" for details.
+This GDB was configured as --host=i686-pc-linux-gnu --target=i386-rtems.
(gdb) setrpcmode sun
(gdb) setdaemontype rdbg
(gdb) target rtems usnet-test
@@ -47,24 +51,32 @@ _Thread_Dispatch () at /rtems4/c/src/exec/score/src/thread.c:315
134283266 ntwk No No
_Thread_Dispatch () at /rtems4/c/src/exec/score/src/thread.c:315
(gdb) b init.c:92
-Breakpoint 1 at 0x200180: file /rtems4/c/src/tests/samples/debug/init.c, line 92.
+Breakpoint 1 at 0x200180: file \
+ /rtems4/c/src/tests/samples/debug/init.c, line 92.
(gdb) c
Continuing.
Thread 134283273 (Rini) has been deleted.
-[Switching to Rtems thread 134283271 (Not suspended) ( <= current target thread )]
-Breakpoint 1, example2 (argument=4) at /rtems4/c/src/tests/samples/debug/init.c:92
+[Switching to Rtems thread 134283271 (Not suspended) \
+ ( <= current target thread )]
+Breakpoint 1, example2 (argument=4) at \
+ /rtems4/c/src/tests/samples/debug/init.c:92
92 tuto += tuti;
(gdb) b init.c:66
-Breakpoint 2 at 0x200128: file /rtems4/c/src/tests/samples/debug/init.c, line 66.
+Breakpoint 2 at 0x200128: file \
+ /rtems4/c/src/tests/samples/debug/init.c, line 66.
(gdb) c
Continuing.
-[Switching to Rtems thread 134283270 (Not suspended) ( <= current target thread )]
-Breakpoint 2, example1 (argument=4) at /rtems4/c/src/tests/samples/debug/init.c:66
+[Switching to Rtems thread 134283270 (Not suspended) \
+ ( <= current target thread )]
+Breakpoint 2, example1 (argument=4) at \
+ /rtems4/c/src/tests/samples/debug/init.c:66
66 toto += titi;
(gdb) c
Continuing.
-[Switching to Rtems thread 134283271 (Not suspended) ( <= current target thread )]
-Breakpoint 1, example2 (argument=4) at /rtems4/c/src/tests/samples/debug/init.c:92
+[Switching to Rtems thread 134283271 (Not suspended) \
+ ( <= current target thread )]
+Breakpoint 1, example2 (argument=4) at \
+ /rtems4/c/src/tests/samples/debug/init.c:92
92 tuto += tuti;
(gdb) s
93 if (print_enable2)
diff --git a/doc/rtems_gdb/trouble.t b/doc/rtems_gdb/trouble.t
index 462bfda5c1..fbb18ca910 100644
--- a/doc/rtems_gdb/trouble.t
+++ b/doc/rtems_gdb/trouble.t
@@ -20,8 +20,8 @@ RTEMS/GDB fails to connect to target machine named my_target:
@example
(gdb) target rtems my_target
-Attaching remote machine across net... Invalid hostname. Couldn't find remote
-host address.
+Attaching remote machine across net... \
+ Invalid hostname. Couldn't find remote host address.
@end example
@i{==> Ask your system administrator to add an entry with the