[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb, libio, readline
From: |
Marcus Brinkmann |
Subject: |
Re: gdb, libio, readline |
Date: |
Sun, 31 Mar 2002 00:50:57 +0100 |
User-agent: |
Mutt/1.3.27i |
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 brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
- gdb, libio, readline, Marcus Brinkmann, 2002/03/29
- Re: gdb, libio, readline, Roland McGrath, 2002/03/30
- Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: gdb, libio, readline,
Marcus Brinkmann <=
- Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- bug located (was: Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: bug located (was: Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/30
- Re: bug located (was: Re: gdb, libio, readline, Niels Möller, 2002/03/31
- Re: bug located (was: Re: gdb, libio, readline, Marcus Brinkmann, 2002/03/31
- Re: bug located (was: Re: gdb, libio, readline, Roland McGrath, 2002/03/31