npace wrote:
> 
> > npace wrote:
> > >
> > > I am developing an embeddded application using RTAI.3/LXRT. I have either 
>realtime user space process or realtime modules.
> > > Is there available a gdbserver / gdbstub to remotely debug (over a serial or 
>TCP/IP connection) a user space realtime process or a realtime module ?
> > >
> > > Thanks
> > > Eng. Nicola Pace
> >
> > Hi Nicola,
> >
> > If you build gdbserver from the gdbsources (4.18 in the gdb/gdbserver
> > sub-directory) that will work for userspace programs.
> >
> > For gdbstub, I have an (untested) version, this would need you to also
> > use module offset loader to complete the serial line module debug
> > capability.  If you want them I will post them.
> >
> > Regards, Stuart
> 
> I meant hard real time processes (those making a rt_make_hard_real_time() lxrt 
>call), In this case
> if I attempt to use gdb/gdbserver the system crashes. Is anyone thinking to a 
>gdbserver working
> also in this case ?
> 
> Regards
> Nicola

Hi Nicola,

gdbserver will not work on LXRT hard real-time.  When in hard real-time
mode, Linux no longer knows anything about the task (approximately
speaking).  This approach will not work, gsbserver relies on ptrace and
the concept of a superior process controlling an inferior that offers to
be ptrace'd.  

Regards, Stuart
-- [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