All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Marco Cavallini <rtai@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Xenomai and gdbserver
Date: Tue, 18 Oct 2005 18:24:26 +0200	[thread overview]
Message-ID: <435521BA.4020605@domain.hid> (raw)
In-Reply-To: <001701c5d3f8$388d4660$0600a8c0@domain.hid>

Marco Cavallini wrote:
> Hi
> I wonder if someone has been able to perform a remote debug with 
> xenomai/fusion.
> I have problems debugging fusion-0.9.1 programs with kernel-2.6.12.2 and 
> Fedora Core 2
> gdb-6.0
> 
> When i run GDB chain and step into rt_task_create(...), GDB prompts 
> "[1]+ Stopped         gdb chain" and
> terminates. I can

I'm tracking an issue like that, causing the debuggee to run into a SIGBUS, due 
to the program counter being messed up somehow. AFAICT, this sometimes happens 
when stepping over code that migrates between primary and secondary modes (and 
rt_task_create does). I need to log this one on the bug tracker. It's pretty 
PITA to chase, but it's 100% reproductible here, so there's hope.

> call "gdbserver ipnum:port chain". then connect to it from a remote machine
> using gdb and "target remote..."
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
> 


-- 

Philippe.


      parent reply	other threads:[~2005-10-18 16:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 15:10 [Xenomai-core] Xenomai and gdbserver Marco Cavallini
2005-10-18 15:47 ` Steven Seeger
2005-10-18 16:20   ` Philippe Gerum
2005-10-18 16:24 ` 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=435521BA.4020605@domain.hid \
    --to=rpm@xenomai.org \
    --cc=rtai@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.