forked from Imagelibrary/rtems
Fixing many lines that are too long to format cleanly.
This commit is contained in:
@@ -48,8 +48,8 @@ and status codes.
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
int pthread_key_create(
|
int pthread_key_create(
|
||||||
pthread_key_t *key,
|
pthread_key_t *key,
|
||||||
void (*destructor)( void CVS Makefile cancel.t clock.t cond.t cspecific.t device.t files.t io.t j key.t memorymgmt.t message.t mutex.t nodesc nodescr posix_users.cps posix_users.fns posix_users.texi preface.texi procenv.t process.t psxmsg.t sched.t semaphores.t signal.t systemdb.t thread.t )
|
void (*destructor)( void )
|
||||||
);
|
);
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|||||||
@@ -66,15 +66,11 @@ queue.
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
@group
|
@group
|
||||||
/backit /backit~ /bin /boot /dev /etc /home /lib /lost+found /mnt /proc /root /sbin /tmp /usr /usr1 /usr2 /usr3 /var
|
|
||||||
CVS Makefile cancel.t clock.t cond.t cspecific.t device.t files.t io.t j key.t memorymgmt.t message.t mutex.t nodesc nodescr posix_users.cps posix_users.fns posix_users.texi preface.texi procenv.t process.t psxmsg.t sched.t semaphores.t signal.t systemdb.t thread.t Create Message Queue (mq) Structure
|
|
||||||
CVS/
|
|
||||||
|
|
||||||
typedef struct mq_attr@{
|
typedef struct mq_attr@{
|
||||||
long mq_flags; /backit /backit~ /bin /boot /dev /etc /home /lib /lost+found /mnt /proc /root /sbin /tmp /usr /usr1 /usr2 /usr3 /var Message queue flags CVS/
|
long mq_flags;
|
||||||
long mq_maxmsg; /backit /backit~ /bin /boot /dev /etc /home /lib /lost+found /mnt /proc /root /sbin /tmp /usr /usr1 /usr2 /usr3 /var Maximum number of messages for the queue CVS/
|
long mq_maxmsg;
|
||||||
long mq_msgsize; /backit /backit~ /bin /boot /dev /etc /home /lib /lost+found /mnt /proc /root /sbin /tmp /usr /usr1 /usr2 /usr3 /var Maximum message size CVS/
|
long mq_msgsize;
|
||||||
long mq_curmsgs; /backit /backit~ /bin /boot /dev /etc /home /lib /lost+found /mnt /proc /root /sbin /tmp /usr /usr1 /usr2 /usr3 /var Number of messages currently queued CVS/
|
long mq_curmsgs;
|
||||||
@};
|
@};
|
||||||
@end group
|
@end group
|
||||||
@end example
|
@end example
|
||||||
|
|||||||
@@ -45,10 +45,6 @@ The "sem_t" structure is used to represent semaphores. It is passed as an
|
|||||||
argument to the semaphore directives and is defined as follows:
|
argument to the semaphore directives and is defined as follows:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
/backit /backit~ /bin /boot /dev /etc /home /lib /lost+found /mnt /proc /root /sbin /tmp /usr /usr1 /usr2 /usr3 /var
|
|
||||||
CVS Makefile cancel.t clock.t cond.t cspecific.t device.t files.t io.t j key.t memorymgmt.t message.t mutex.t nodesc nodescr posix_users.cps posix_users.fns posix_users.texi preface.texi procenv.t process.t psxmsg.t sched.t semaphores.t signal.t systemdb.t thread.t sem_t structure
|
|
||||||
CVS/
|
|
||||||
|
|
||||||
typedef int sem_t
|
typedef int sem_t
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|||||||
@@ -887,10 +887,10 @@ family of routines to which this routine belongs is supported.
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
int pthread_create(
|
int pthread_create(
|
||||||
pthread_t *thread,
|
pthread_t *thread,
|
||||||
const pthread_attr_t *attr,
|
const pthread_attr_t *attr,
|
||||||
void (*start_routine)( void CVS Makefile cancel.t clock.t cond.t cspecific.t device.t files.t io.t j key.t memorymgmt.t message.t mutex.t nodesc nodescr posix_users.cps posix_users.fns posix_users.texi preface.texi procenv.t process.t psxmsg.t sched.t semaphores.t signal.t systemdb.t thread.t ),
|
void (*start_routine)( void *),
|
||||||
void *arg
|
void *arg
|
||||||
);
|
);
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|||||||
@@ -8,14 +8,18 @@
|
|||||||
|
|
||||||
@chapter Debug Session Example
|
@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
|
@example
|
||||||
GNU gdb 4.17
|
GNU gdb 4.17
|
||||||
Copyright 1998 Free Software Foundation, Inc.
|
Copyright 1998 Free Software Foundation, Inc.
|
||||||
GDB is free software, covered by the GNU General Public License, and you are
|
GDB is free software, covered by the GNU General Public License, and
|
||||||
welcome to change it and/or distribute copies of it under certain conditions.
|
you are welcome to change it and/or distribute copies of it under
|
||||||
Type "show copying" to see the conditions.
|
certain conditions. Type "show copying" to see the conditions.
|
||||||
There is absolutely no warranty for GDB. Type "show warranty" for details.
|
There is absolutely no warranty for GDB.
|
||||||
This GDB was configured as --host=i686-pc-linux-gnu --target=i386-rtems".
|
Type "show warranty" for details.
|
||||||
|
This GDB was configured as --host=i686-pc-linux-gnu --target=i386-rtems.
|
||||||
(gdb) setrpcmode sun
|
(gdb) setrpcmode sun
|
||||||
(gdb) setdaemontype rdbg
|
(gdb) setdaemontype rdbg
|
||||||
(gdb) target rtems usnet-test
|
(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
|
134283266 ntwk No No
|
||||||
_Thread_Dispatch () at /rtems4/c/src/exec/score/src/thread.c:315
|
_Thread_Dispatch () at /rtems4/c/src/exec/score/src/thread.c:315
|
||||||
(gdb) b init.c:92
|
(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
|
(gdb) c
|
||||||
Continuing.
|
Continuing.
|
||||||
Thread 134283273 (Rini) has been deleted.
|
Thread 134283273 (Rini) has been deleted.
|
||||||
[Switching to Rtems thread 134283271 (Not suspended) ( <= current target thread )]
|
[Switching to Rtems thread 134283271 (Not suspended) \
|
||||||
Breakpoint 1, example2 (argument=4) at /rtems4/c/src/tests/samples/debug/init.c:92
|
( <= current target thread )]
|
||||||
|
Breakpoint 1, example2 (argument=4) at \
|
||||||
|
/rtems4/c/src/tests/samples/debug/init.c:92
|
||||||
92 tuto += tuti;
|
92 tuto += tuti;
|
||||||
(gdb) b init.c:66
|
(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
|
(gdb) c
|
||||||
Continuing.
|
Continuing.
|
||||||
[Switching to Rtems thread 134283270 (Not suspended) ( <= current target thread )]
|
[Switching to Rtems thread 134283270 (Not suspended) \
|
||||||
Breakpoint 2, example1 (argument=4) at /rtems4/c/src/tests/samples/debug/init.c:66
|
( <= current target thread )]
|
||||||
|
Breakpoint 2, example1 (argument=4) at \
|
||||||
|
/rtems4/c/src/tests/samples/debug/init.c:66
|
||||||
66 toto += titi;
|
66 toto += titi;
|
||||||
(gdb) c
|
(gdb) c
|
||||||
Continuing.
|
Continuing.
|
||||||
[Switching to Rtems thread 134283271 (Not suspended) ( <= current target thread )]
|
[Switching to Rtems thread 134283271 (Not suspended) \
|
||||||
Breakpoint 1, example2 (argument=4) at /rtems4/c/src/tests/samples/debug/init.c:92
|
( <= current target thread )]
|
||||||
|
Breakpoint 1, example2 (argument=4) at \
|
||||||
|
/rtems4/c/src/tests/samples/debug/init.c:92
|
||||||
92 tuto += tuti;
|
92 tuto += tuti;
|
||||||
(gdb) s
|
(gdb) s
|
||||||
93 if (print_enable2)
|
93 if (print_enable2)
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ RTEMS/GDB fails to connect to target machine named my_target:
|
|||||||
@example
|
@example
|
||||||
(gdb) target rtems my_target
|
(gdb) target rtems my_target
|
||||||
|
|
||||||
Attaching remote machine across net... Invalid hostname. Couldn't find remote
|
Attaching remote machine across net... \
|
||||||
host address.
|
Invalid hostname. Couldn't find remote host address.
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@i{==> Ask your system administrator to add an entry with the
|
@i{==> Ask your system administrator to add an entry with the
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ specific patches.
|
|||||||
Directory: @value{GCC-FTPDIR}
|
Directory: @value{GCC-FTPDIR}
|
||||||
File: @value{GCC-TAR}
|
File: @value{GCC-TAR}
|
||||||
@ifset use-html
|
@ifset use-html
|
||||||
URL: @uref{Download @value{GCC-VERSION},ftp://@value{GCC-FTPSITE}@value{GCC-HTTPDIR}}
|
URL: @uref{Download @value{GCC-VERSION}, ftp://@value{GCC-FTPSITE}@value{GCC-HTTPDIR}}
|
||||||
@end ifset
|
@end ifset
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|||||||
@@ -13,14 +13,14 @@ GNU C/C++ Cross Compiler Tools for RTEMS. The following table may help in
|
|||||||
assessing the amount of disk space required for your installation:
|
assessing the amount of disk space required for your installation:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
+----------------------------------------+------------------------------+
|
+------------------------------------+--------------------------+
|
||||||
| Component | Disk Space Required |
|
| Component | Disk Space Required |
|
||||||
+----------------------------------------+------------------------------+
|
+------------------------------------+--------------------------+
|
||||||
| archive directory | 30 Mbytes |
|
| archive directory | 30 Mbytes |
|
||||||
| tools src unzipped | 100 Mbytes |
|
| tools src unzipped | 100 Mbytes |
|
||||||
| each individual build directory | 300 Mbytes worst case |
|
| each individual build directory | 300 Mbytes worst case |
|
||||||
| each installation directory | 20-400 Mbytes |
|
| each installation directory | 20-400 Mbytes |
|
||||||
+----------------------------------------+------------------------------+
|
+------------------------------------+--------------------------+
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
The disk space required for each installation directory depends
|
The disk space required for each installation directory depends
|
||||||
|
|||||||
@@ -13,14 +13,14 @@ GNU C/C++ Cross Compiler Tools for RTEMS. The following table may help in
|
|||||||
assessing the amount of disk space required for your installation:
|
assessing the amount of disk space required for your installation:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
+----------------------------------------+------------------------------+
|
+------------------------------------+--------------------------+
|
||||||
| Component | Disk Space Required |
|
| Component | Disk Space Required |
|
||||||
+----------------------------------------+------------------------------+
|
+------------------------------------+--------------------------+
|
||||||
| archive directory | 30 Mbytes |
|
| archive directory | 30 Mbytes |
|
||||||
| tools src unzipped | 100 Mbytes |
|
| tools src unzipped | 100 Mbytes |
|
||||||
| each individual build directory | 300 Mbytes worst case |
|
| each individual build directory | 300 Mbytes worst case |
|
||||||
| each installation directory | 20-130 Mbytes |
|
| each installation directory | 20-130 Mbytes |
|
||||||
+----------------------------------------+------------------------------+
|
+------------------------------------+--------------------------+
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
The disk space required for each installation directory depends
|
The disk space required for each installation directory depends
|
||||||
|
|||||||
Reference in New Issue
Block a user