All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>, adeos-main@gna.org
Subject: Re: [Xenomai-core] [PATCH] fix for kgbd patch
Date: Fri, 29 Sep 2006 00:12:31 +0200	[thread overview]
Message-ID: <451C48CF.4010108@domain.hid> (raw)
In-Reply-To: <4510E84C.90807@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

Jan Kiszka wrote:
> Hi,
> 
> the kgdb-over-ipipe add-on patches available from gna.org contain two
> bugs that prevents stepping through Xenomai kernel threads. The attached
> update fixes them. It also contains the workaround to build kgdb with
> gcc-3.4 (before 3.4.4) and 4.1 (before 4.1.2).
> 
> Tested on 2.6.17.13 with latest kgdb from CVS.
> 

It turned out (*) that kgdb over I-pipe only works reliably for
!CONFIG_PREEMPT (e.g. due to rcu_read_lock in the int3 notifier path).
Until some solution has been worked out, switch preemption off when you
use the debugger.

Jan


(*) Ever tried to debug a debugger? Here is one way to do this without
special hardware: Xenomai in qemu, one ddd attached to kgdb over
emulated serial port on /dev/pts/X, another ddd attached to qemu as
debugger back-end ("-s"). Sounds like fun? It isn't.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

      reply	other threads:[~2006-09-28 22:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20  7:05 [Xenomai-core] [PATCH] fix for kgbd patch Jan Kiszka
2006-09-28 22:12 ` Jan Kiszka [this message]

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=451C48CF.4010108@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=xenomai@xenomai.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.