All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] GUI Debugging tool for Linux
@ 2010-11-20 21:16 Hemal C.Bavishi
  2010-11-21 15:00 ` Gilles Chanteperdrix
  2010-11-21 16:49 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 5+ messages in thread
From: Hemal C.Bavishi @ 2010-11-20 21:16 UTC (permalink / raw)
  To: xenomai@xenomai.org

Dear All,

Do you have any idea of GUI C debugging tool for Linux works for Xenomai patch? I tried to use DDD (Data Display Debugger) but when I load my program compiled with xenomai kernel then it gives me an error "xenomai binding failed". I also tried to use other debugger program like GPS but I got almost similar issue(thread debugging using libthead_db enabled - program exited with code 01). Please help.

Thank you,

Best Regards,
Hemal Bavishi




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-help] GUI Debugging tool for Linux
  2010-11-20 21:16 [Xenomai-help] GUI Debugging tool for Linux Hemal C.Bavishi
@ 2010-11-21 15:00 ` Gilles Chanteperdrix
  2010-11-22 14:56   ` Hemal C.Bavishi
  2010-11-21 16:49 ` Gilles Chanteperdrix
  1 sibling, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2010-11-21 15:00 UTC (permalink / raw)
  To: Hemal C.Bavishi; +Cc: xenomai@xenomai.org

Hemal C.Bavishi wrote:
> Dear All,
> 
> Do you have any idea of GUI C debugging tool for Linux works for
> Xenomai patch? I tried to use DDD (Data Display Debugger) but when I
> load my program compiled with xenomai kernel then it gives me an
> error "xenomai binding failed". I also tried to use other debugger
> program like GPS but I got almost similar issue(thread debugging
> using libthead_db enabled - program exited with code 01). Please
> help.

ddd is a gdb frontend. So, please try and load your program with gdb,
and show us the error message.

Telling us which version of xenomai, on which architecture, and whether
you are remote debugging would also help us reproduce the issue.


-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-help] GUI Debugging tool for Linux
  2010-11-20 21:16 [Xenomai-help] GUI Debugging tool for Linux Hemal C.Bavishi
  2010-11-21 15:00 ` Gilles Chanteperdrix
@ 2010-11-21 16:49 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2010-11-21 16:49 UTC (permalink / raw)
  To: Hemal C.Bavishi; +Cc: xenomai@xenomai.org

Hemal C.Bavishi wrote:
> Dear All,
> 
> Do you have any idea of GUI C debugging tool for Linux works for
> Xenomai patch? I tried to use DDD (Data Display Debugger) but when I
> load my program compiled with xenomai kernel then it gives me an
> error "xenomai binding failed". I also tried to use other debugger
> program like GPS but I got almost similar issue(thread debugging
> using libthead_db enabled - program exited with code 01). Please
> help.

On second thought, the message "xneomai binding failed", probably means
that the machine where you are running ddd is running on a kernel
without xenomai. So, if you are trying to debug a Xenomai application
remotely, you should be using gdbserver. Before you ask: I have no idea
how to do remote debugging with ddd, but this question is off-topic here
anyway, you should find some information elsewhere.

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-help] GUI Debugging tool for Linux
  2010-11-21 15:00 ` Gilles Chanteperdrix
@ 2010-11-22 14:56   ` Hemal C.Bavishi
  2010-11-22 15:45     ` Philippe Gerum
  0 siblings, 1 reply; 5+ messages in thread
From: Hemal C.Bavishi @ 2010-11-22 14:56 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai@xenomai.org

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

Dear Gilles,

I am trying to debug the application (native example provided along with Xenomai installation) on the same linux kernel where the Xenomai is patched through graphical debugger called DDD. I have attached two screen shots for your analysis. Hope it helps in identifying the issue. 

I am facing similar issues with other GUI debuggers like GPS and code light but I am not sure what the problem is? Have you used any GUI debugger to debug C code?

Best Regards,
Hemal Bavishi

-----Original Message-----
From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org] 
Sent: Sunday, November 21, 2010 4:00 PM
To: Hemal C.Bavishi
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] GUI Debugging tool for Linux

Hemal C.Bavishi wrote:
> Dear All,
> 
> Do you have any idea of GUI C debugging tool for Linux works for
> Xenomai patch? I tried to use DDD (Data Display Debugger) but when I
> load my program compiled with xenomai kernel then it gives me an
> error "xenomai binding failed". I also tried to use other debugger
> program like GPS but I got almost similar issue(thread debugging
> using libthead_db enabled - program exited with code 01). Please
> help.

ddd is a gdb frontend. So, please try and load your program with gdb,
and show us the error message.

Telling us which version of xenomai, on which architecture, and whether
you are remote debugging would also help us reproduce the issue.


-- 
                                                                Gilles.


[-- Attachment #2: Xenomai_debug.png --]
[-- Type: image/png, Size: 345927 bytes --]

[-- Attachment #3: DDD_Xenomai_error.png --]
[-- Type: image/png, Size: 72105 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-help] GUI Debugging tool for Linux
  2010-11-22 14:56   ` Hemal C.Bavishi
@ 2010-11-22 15:45     ` Philippe Gerum
  0 siblings, 0 replies; 5+ messages in thread
From: Philippe Gerum @ 2010-11-22 15:45 UTC (permalink / raw)
  To: Hemal C.Bavishi; +Cc: xenomai@xenomai.org

On Mon, 2010-11-22 at 20:26 +0530, Hemal C.Bavishi wrote:
> Dear Gilles,
> 
> I am trying to debug the application (native example provided along with Xenomai installation) on the same linux kernel where the Xenomai is patched through graphical debugger called DDD. I have attached two screen shots for your analysis. Hope it helps in identifying the issue. 
> 
> I am facing similar issues with other GUI debuggers like GPS and code light but I am not sure what the problem is? Have you used any GUI debugger to debug C code?
> 

Using a GUI or not is completely unrelated. Seeing "Operation not
permitted" in the snapshot you sent should ring a bell. Google has the
answer:

https://mail.gna.org/public/xenomai-help/2006-05/msg00074.html


> Best Regards,
> Hemal Bavishi
> 
> -----Original Message-----
> From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org] 
> Sent: Sunday, November 21, 2010 4:00 PM
> To: Hemal C.Bavishi
> Cc: xenomai@xenomai.org
> Subject: Re: [Xenomai-help] GUI Debugging tool for Linux
> 
> Hemal C.Bavishi wrote:
> > Dear All,
> > 
> > Do you have any idea of GUI C debugging tool for Linux works for
> > Xenomai patch? I tried to use DDD (Data Display Debugger) but when I
> > load my program compiled with xenomai kernel then it gives me an
> > error "xenomai binding failed". I also tried to use other debugger
> > program like GPS but I got almost similar issue(thread debugging
> > using libthead_db enabled - program exited with code 01). Please
> > help.
> 
> ddd is a gdb frontend. So, please try and load your program with gdb,
> and show us the error message.
> 
> Telling us which version of xenomai, on which architecture, and whether
> you are remote debugging would also help us reproduce the issue.
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help

-- 
Philippe.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-22 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-20 21:16 [Xenomai-help] GUI Debugging tool for Linux Hemal C.Bavishi
2010-11-21 15:00 ` Gilles Chanteperdrix
2010-11-22 14:56   ` Hemal C.Bavishi
2010-11-22 15:45     ` Philippe Gerum
2010-11-21 16:49 ` Gilles Chanteperdrix

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.