From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>, adeos-main@gna.org
Subject: [Xenomai-core] Re: [Adeos-main] Re: [patch] kgdb for ipipe - updated version
Date: Sun, 14 May 2006 22:20:24 +0200 [thread overview]
Message-ID: <44679108.7000109@domain.hid> (raw)
In-Reply-To: <44678805.2000904@domain.hid>
Jan Kiszka wrote:
> Jan Kiszka wrote:
>
>>Hi all,
>>
>>here is an improved version of the kgdb-over-ipipe patch. This version
>>specifically addresses the concerns Gilles brought up recently:
>>
>>o No more dependencies on Xenomai, thus also no need to have the nucleus
>> compiled into the kernel. There is now a registrable handler,
>> ipipe_safe_current, which is invoked by the kgdb code to obtain
>> "current". When the xeno nucleus arms its services, it overloads this
>> handler to always provide a valid current (either the real one or
>> init_task for kernel-only threads).
>>
>>o Replaced smp_processor_id with ipipe_processor_id in critical kgdb
>> code. I haven't tested this replacement, so no guarantees here. But so
>> far it looks consistent - at least for me.
>>
>>To use the kernel debugger with Xenomai, you need the latest kgdb
>>patches [1] and have to follow the attached patch series.
>>
>
>
> Oops, one patch was missing: the one to add the handler registration to
> Xenomai. See attachment.
>
> Jan
>
>
> ------------------------------------------------------------------------
>
> Index: ksrc/nucleus/pod.c
> ===================================================================
> --- ksrc/nucleus/pod.c (Revision 1095)
> +++ ksrc/nucleus/pod.c (Arbeitskopie)
> @@ -43,6 +43,9 @@
Ok with the basic idea, but this code should definitely go to the
arch-dependent section and not to the nucleus core directly, probably to
include/asm-*/system.h, xnarch_init would be the proper place.
--
Philippe.
prev parent reply other threads:[~2006-05-14 20:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-14 19:33 [Xenomai-core] [patch] kgdb for ipipe - updated version Jan Kiszka
2006-05-14 19:41 ` [Xenomai-core] " Jan Kiszka
2006-05-14 20:20 ` Philippe Gerum [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=44679108.7000109@domain.hid \
--to=rpm@xenomai.org \
--cc=adeos-main@gna.org \
--cc=jan.kiszka@domain.hid \
--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.