[ECOS] cyg_io_lookup for /dev/tty0 fails

Robert Brusa bob.brusa@gmail.com
Wed Oct 29 09:03:00 GMT 2008


Hi

I reconfigured eCOS and now I am stuck with a problem I do not understand.
When calling a lookup for tty0, the routine returns with an error. I have
digged a bit into the problem and found the following:

My configuration seems to be ok - /dev/tty0 is in __DEVTAB__ and is found
there. Things go wrong at line 137 (see screenshots of debugging
session): The if there should evaluate as true, but the program skips the
true-branch and goes to to line 143 instead. Is this a compiler problem
or do I get something wrong? Thanks for any help.
Regards Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iosys_code.png
Type: image/png
Size: 27413 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20081029/dff11e82/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iosys_variables.png
Type: image/png
Size: 22199 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20081029/dff11e82/attachment-0001.png>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list