All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Marques <pmarques@grupopie.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Trap flag handling change in 2.6.10-bk5 broke Kylix debugger
Date: Wed, 15 Feb 2006 17:43:15 +0000	[thread overview]
Message-ID: <43F36833.9060100@grupopie.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0602141243020.3691@g5.osdl.org>

Linus Torvalds wrote:
> [...]
> Hmm. You could try variations on the appended patch. Try changing the 
> "#if 0" to "#if 1" in various combinations, to see which one Kylix seems 
> to care about.

Sorry about the delay, but being Valentine's day and all changes our 
priorities a bit ;)

Anyway, a friend of mine tested the patch and reported that the 
combinations 000 (all comented out), 001 (the first 2 commented out, but 
the last one not) and 110 (...) still hung the debugger. I suppose these 
were all the combinations he tested.

Tonight I'll have more time to test this again and we can probably have 
a more interactive debug session.

In the mean time, just a few more data points. The debugger seems to use 
LinuxThreads and only works with LD_ASSUME_KERNEL=2.4.1, even on a 
2.6.10 kernel.

If we don't set this, the debugger hangs in a different way. Apparently 
it is waiting on a signal, it has a signal pending that is one of the 
first real-time signals (the ones used by LinuxThreads), but its signal 
mask is blocking it.

Anyway, I thought of trying to attach a strace to the debugger tonight 
to try to see exactly what the debugger is doing. Is this supposed to 
work? Or trying to trace a process that is itself tracing another 
process a no-no and can give unreliable results?

-- 
Paulo Marques - www.grupopie.com

Pointy-Haired Boss: I don't see anything that could stand in our way.
            Dilbert: Sanity? Reality? The laws of physics?

  reply	other threads:[~2006-02-15 17:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14 20:21 Trap flag handling change in 2.6.10-bk5 broke Kylix debugger Paulo Marques
2006-02-14 20:52 ` Linus Torvalds
2006-02-15 17:43   ` Paulo Marques [this message]
2006-02-16 12:07     ` [SOLVED] " Paulo Marques
2006-02-16 19:34       ` Linus Torvalds
2006-02-17 14:45         ` Paulo Marques
  -- strict thread matches above, loose matches on Subject: below --
2006-02-15  3:17 Chuck Ebbert
2006-02-15 17:46 ` Paulo Marques

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43F36833.9060100@grupopie.com \
    --to=pmarques@grupopie.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.