Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2001 10:18:28 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        current@FreeBSD.org
Subject:   gdb(1) broken?
Message-ID:  <20010916101828.B455@dhcp01.pn.xcllnt.net>

next in thread | raw e-mail | index | archive | help
Gang,

I don't know exactly what the gdb(1) problems on Alpha are, but we
do have a problem that's probably not specific to an architecture.

The problem is basicly this: one cannot debug any programs because
gdb(1) gets a SIGTRAP delivered when it invokes ptrace(2) and never
gets a change to wait4(2) the "interior" process.

I don't know the details, but one of the following can be the case
1. We now deliver a SIGTRAP, when we didn't do so before,
2. The SIGTRAP comes too quick, it should be "caught" by the wait4(2).

I couldn't find any indication that 1 happened, so my guess is that
we suffer from 2.

Is this known?
Any thoughts?

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010916101828.B455>