/[hurd]/hurd/utils/rpctrace.c
ViewVC logotype

Diff of /hurd/utils/rpctrace.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by roland, Wed Jun 6 19:54:43 2001 UTC revision 1.8 by roland, Mon Oct 15 04:49:33 2001 UTC
# Line 519  trace_and_forward (mach_msg_header_t *in Line 519  trace_and_forward (mach_msg_header_t *in
519       ports (traced_class).  */       ports (traced_class).  */
520    info = ports_lookup_port (traced_bucket, inp->msgh_local_port, 0);    info = ports_lookup_port (traced_bucket, inp->msgh_local_port, 0);
521    assert (info);    assert (info);
   assert (MACH_MSGH_BITS_LOCAL (inp->msgh_bits) == info->type);  
522    
523      /* A notification message from the kernel appears to have been sent
524         with a send-once right, even if there have never really been any.  */
525    if (MACH_MSGH_BITS_LOCAL (inp->msgh_bits) == MACH_MSG_TYPE_MOVE_SEND_ONCE)    if (MACH_MSGH_BITS_LOCAL (inp->msgh_bits) == MACH_MSG_TYPE_MOVE_SEND_ONCE)
526      {      {
527        if (inp->msgh_id == MACH_NOTIFY_DEAD_NAME)        if (inp->msgh_id == MACH_NOTIFY_DEAD_NAME)
# Line 552  trace_and_forward (mach_msg_header_t *in Line 553  trace_and_forward (mach_msg_header_t *in
553          }          }
554      }      }
555    
556      assert (MACH_MSGH_BITS_LOCAL (inp->msgh_bits) == info->type);
557    
558    complex = inp->msgh_bits & MACH_MSGH_BITS_COMPLEX;    complex = inp->msgh_bits & MACH_MSGH_BITS_COMPLEX;
559    
560    /* Swap the header data like a crossover cable. */    /* Swap the header data like a crossover cable. */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26