forked from Imagelibrary/rtems
Fixing many lines that are too long to format cleanly.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user