[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RTEMS+GDB+Serial



> Hello,
>         Is here in RTEMS community somebody who has experiense of debugging RTEMS
> application with gdb via serial channel?
>         Thanks ahead.
> Leon M.Pollak
> leonp@plris.com

I have used the gdb-stub for sparc targets to implement a simple
monitor that can be used to debug RTEMS applications on a remote
target. There were three issues that required some attention:

1. How to halt all timers when a breakpoint is reached and 
   re-enable them when control is given back to the application.

2. How to insert the breakpoint trap-handlers into the trap table
   of the RTEMS program.

3. How to setup the UART interrupt handler so that a 'break-in'
   is possible when typing Ctrl-C in gdb.


Feel free to mail me directly for more details.

Regards, Jiri.

-- 

------------------------------------------------------------------
Jiri Gaisler, European Space Research and Technology Centre
ESA/ESTEC, Box 299, 2200 AG Noordwijk, the Netherlands
voice:+31-71-5654880  fax:+31-71-5654295 
email: jgais@wd.estec.esa.nl  WWW:  ...real soon now!
ERC32 home page at http://www.estec.esa.nl/wsmwww/erc32
------------------------------------------------------------------