Hi,

what happens is that the first sanity check fails on the reply message, but
I have no clue why.  Maybe gcc generates bad code.

Because the first check has actually four conditions in an if, I will split
it up in multiple ifs, so I see which check exactly is failing.

Breakpoint 1, _hurd_select (nfds=1, pollfds=0x81dbb98, readfds=0x0,
writefds=0x0, exceptfds=0x0,
    timeout=0x0, sigmask=0x0) at hurdselect.c:309
309               if (msg.head.msgh_id == IO_SELECT_REPLY_MSGID &&
(gdb) print msg
$1 = {head = {msgh_bits = 4352, msgh_size = 40, msgh_remote_port = 0, msgh_local_port 
= 121,
    msgh_seqno = 0, msgh_id = 21112}, error = {head = {msgh_bits = 4352, msgh_size = 
40,
      msgh_remote_port = 0, msgh_local_port = 121, msgh_seqno = 0, msgh_id = 21112}, 
err_type = {
      msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 
0,
      msgt_deallocate = 0, msgt_unused = 0}, err = 0}, success = {head = {msgh_bits = 
4352,
      msgh_size = 40, msgh_remote_port = 0, msgh_local_port = 121, msgh_seqno = 0,
      msgh_id = 21112}, err_type = {msgt_name = 2, msgt_size = 32, msgt_number = 1,
      msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, err = 
0,
    result_type = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1,
      msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, result = 1}}

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to