summaryrefslogtreecommitdiffstats
path: root/doc/rtems_gdb/example.t
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/example.t
parentAdded information on how the directory is stored for future referance (diff)
downloadrtems-ee0702ef5ed83b14b2ed6ff4079042bf2807d660.tar.bz2
Fixing many lines that are too long to format cleanly.
Diffstat (limited to 'doc/rtems_gdb/example.t')
-rw-r--r--doc/rtems_gdb/example.t38
1 files changed, 25 insertions, 13 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)