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>
|
||||
|
||||
int pthread_key_create(
|
||||
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 )
|
||||
pthread_key_t *key,
|
||||
void (*destructor)( void )
|
||||
);
|
||||
@end example
|
||||
|
||||
|
||||
@@ -66,15 +66,11 @@ queue.
|
||||
|
||||
@example
|
||||
@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@{
|
||||
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_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_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_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_flags;
|
||||
long mq_maxmsg;
|
||||
long mq_msgsize;
|
||||
long mq_curmsgs;
|
||||
@};
|
||||
@end group
|
||||
@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:
|
||||
|
||||
@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
|
||||
@end example
|
||||
|
||||
|
||||
@@ -887,10 +887,10 @@ family of routines to which this routine belongs is supported.
|
||||
#include <pthread.h>
|
||||
|
||||
int pthread_create(
|
||||
pthread_t *thread,
|
||||
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 *arg
|
||||
pthread_t *thread,
|
||||
const pthread_attr_t *attr,
|
||||
void (*start_routine)( void *),
|
||||
void *arg
|
||||
);
|
||||
@end example
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -56,7 +56,7 @@ specific patches.
|
||||
Directory: @value{GCC-FTPDIR}
|
||||
File: @value{GCC-TAR}
|
||||
@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 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:
|
||||
|
||||
@example
|
||||
+----------------------------------------+------------------------------+
|
||||
| Component | Disk Space Required |
|
||||
+----------------------------------------+------------------------------+
|
||||
| archive directory | 30 Mbytes |
|
||||
| tools src unzipped | 100 Mbytes |
|
||||
| each individual build directory | 300 Mbytes worst case |
|
||||
| each installation directory | 20-400 Mbytes |
|
||||
+----------------------------------------+------------------------------+
|
||||
+------------------------------------+--------------------------+
|
||||
| Component | Disk Space Required |
|
||||
+------------------------------------+--------------------------+
|
||||
| archive directory | 30 Mbytes |
|
||||
| tools src unzipped | 100 Mbytes |
|
||||
| each individual build directory | 300 Mbytes worst case |
|
||||
| each installation directory | 20-400 Mbytes |
|
||||
+------------------------------------+--------------------------+
|
||||
@end example
|
||||
|
||||
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:
|
||||
|
||||
@example
|
||||
+----------------------------------------+------------------------------+
|
||||
| Component | Disk Space Required |
|
||||
+----------------------------------------+------------------------------+
|
||||
| archive directory | 30 Mbytes |
|
||||
| tools src unzipped | 100 Mbytes |
|
||||
| each individual build directory | 300 Mbytes worst case |
|
||||
| each installation directory | 20-130 Mbytes |
|
||||
+----------------------------------------+------------------------------+
|
||||
+------------------------------------+--------------------------+
|
||||
| Component | Disk Space Required |
|
||||
+------------------------------------+--------------------------+
|
||||
| archive directory | 30 Mbytes |
|
||||
| tools src unzipped | 100 Mbytes |
|
||||
| each individual build directory | 300 Mbytes worst case |
|
||||
| each installation directory | 20-130 Mbytes |
|
||||
+------------------------------------+--------------------------+
|
||||
@end example
|
||||
|
||||
The disk space required for each installation directory depends
|
||||
|
||||
Reference in New Issue
Block a user