From: Andreas Erler <a.erler@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: "." <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Debugging realtime tasks
Date: Wed, 11 Jun 2008 16:38:15 +0200 (CEST) [thread overview]
Message-ID: <30475381.6441213195095254.JavaMail.root@domain.hid> (raw)
In-Reply-To: <3686298.6421213193405988.JavaMail.root@domain.hid>
Hello Gilles,
thank you, you were right!
I've used gdbserver 6.6 on my target and gdb 6.8 on my host.
I now have on both machines the same versions and voilà it works :-)
Thank you very much,
Andy
----- Ursprüngliche Mail -----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
An: "Andreas Erler" <a.erler@domain.hid>
CC: "." <xenomai@xenomai.org>
Gesendet: Mittwoch, 11. Juni 2008 14:35:39 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien
Betreff: Re: [Xenomai-help] Debugging realtime tasks
On Wed, Jun 11, 2008 at 10:23 AM, Andreas Erler
<a.erler@domain.hid> wrote:
> Hi,
>
> I want to debug a userspace task created with: rt_task_create(&demo_task, "trivial", 0, 99, 0);
> When I set a breakpoint somewhere in the demo_task function I get the following message and gdbserver exits:
>
> Child terminated with signal = 5
>
> Child terminated with signal = 0x5 (SIGTRAP)
> GDBserver exiting
>
> Is it generally possible to debug realtime tasks or not?
> If yes, what I'm doing wrong here?
Yes, it is supposed to work. A common problem with using gdbserver
with gdb is not using the same version, you should use absolutely the
same version of gdb and gdbserver.
If you use the same version of gdb and gdbserver and still have the
problem, could you post an example, and tell us where to put the
breakpoint ?
You should also tell us which version of Xenomai you use, and on which platform.
--
Gilles
next parent reply other threads:[~2008-06-11 14:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3686298.6421213193405988.JavaMail.root@domain.hid>
2008-06-11 14:38 ` Andreas Erler [this message]
[not found] <26287316.6271213172573467.JavaMail.root@domain.hid>
2008-06-11 8:23 ` [Xenomai-help] Debugging realtime tasks Andreas Erler
2008-06-11 12:35 ` Gilles Chanteperdrix
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=30475381.6441213195095254.JavaMail.root@domain.hid \
--to=a.erler@domain.hid \
--cc=gilles.chanteperdrix@xenomai.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.