"David J. Christini" wrote:
> 
> > On Thu, 23 Mar 2000 [EMAIL PROTECTED] wrote:
> > We've just made stock GDB work for RTLinux. Release today or perhaps
> > tomorrow.
> 
> Does the above mentioned GDB work for RTL2.2 (if so, where do I download
> it?), or does one need to use RTL2.3?
> 
> I have an application that uses floating point (yes, I #include <float.h>
> and  pthread_setfp_np). My rt_process crashes my system, occasionally, but
> not always. I suspect that it has something to do with typecasting
> foo_float = (float)foo_int;
> 
> But, I'm not sure. So I want to debug it. So, either I want to use the GDB
> tool Victor mentioned, or something from Zentropix.  Stuart, in the past
> you've mentioned the various zentropix tools. Which of them would work
> with RTLinux 2.2, and would be appropriate for determining the nature of
> my system-crashing bug? Also, I have the zentropix 2.2.1 (Batch 4) CDROM,
> but I can't seem to find gdbstubs or the other packages on there anywhere.
> Can I install and use them without installing the whole system?
> 
> Thanks,
> Dave

Hi Dave,

Here are some thoughts, if you use RTLinux-2.3, you should be able to do
self-hosted or remote debug using the RTLinux gdbstub debug.  I have
tried to use this but so far I haven't been able to get it to work.  I
suspect this is operator error, the symptoms are that everything works
as described in the README, but when I get to target remote /dev/rtf10,
gdb hangs (it seems like not data is available).  If anyone has had and
solved this problem, please post your experience.

I think the RTLinux gdbstub debugger is good for a certain class of
problems, and yours probably falls into this category.  If however you
have serious faults that cause Linux/userspace to become unavailable,
you will not be able to to use the RTLinux gdbstub debugger, and you
will need to use the serial gdbstub.

The version on the Zentropix 2.2.1 CD was built into the kernel and only
supported RTAI, the source can be found embedded in the kernel source. 
I have a version that works for RTLinux and RTAI which I am trying to
get released, if you want the work-in-progress, I'm happy to send it to
you.

The Zentropix release will fully support our tools on both RTAI and
RTLinux, with the source code being easily available on the CD.

Regards, Stuart

NOTE: for the RTLinux gdbstub debugger, you will need to get hold of
modutils-2.3.9 so that you have the right version of insmod.
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to