hello,all
Questions again.
I have update to EPICS baseR3.14.1 now. And build the
"example" application for RTEMS-pc386 target.
After boot the "exmaple" application on my target machine,
there are some errors delivered:
--------------
...
*****starting EPICS application*****
assert failed:
../../../../../../../rtems-ss-20021118/cpukit/posix/src/types.c:40
0
EXECUTIVE SHUTDOWN!Any key to reboot...
--------------
Here are related contents in types.c:
38: int
POSIX_NOT_IMPLEMENTED() 39: { 40:
assert( 0 ); 41: return
0; 42: }
what does this mean? Where/when is this function
called?
When I configure RTEMS, I have had the configuration option
"--enable-posix" turned on.
And another questions, for I have realized that it's very
necessary to install a rdbg environment,I installed gdb-5.2,patched with rtems
patches.Then enabled rdbg in the "exmaple", after I issued command:
i386-rtems-gdb -b 38400 example
...
(gdb)target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
This command will not return, if I type Ctrl+C after quite a
while, it tells me that:
"Couldn't establish connection to remote
target"
Meanwhile, on the target machine, REMOTE DBG initialized
successfully, and are waiting connection all the time.
Have I forgot anything when I use this rdbg?
best regards,
-- Shao Mingchao Engineering Physics
Department Tsinghua
University Beijing,100084,China
|