Coldfire/RTEMS Debugging

Victor V. Vengerov Victor.Vengerov at
Sat Dec 10 14:27:33 UTC 2005


As fine as I know, other options are available, but they are essentially 
more expensive. For example, you may consider Abatron BDI2000 box, Abatron has an option when gdb debugging protocol 
supported over ethernet, and they support Coldfire processors. I guess, 
gdb "from the box" can communicate with this debugger (but I have not 
tried this, it's just a theory).


Steve Strobel wrote:

> I have been using m68k-bdm-elf-gdb with a P&E parallel port BDM 
> interface to debug Coldfire targets running RTEMS for the past few 
> years.  My new computer didn't have a parallel port and the PCI card I 
> got to add one doesn't support the standard I/O address for LPT ports, 
> so I am in need of a modified debugger.  I believe that last time I 
> built GDB that I used the GDB source from the sourceforge BDM Tools 
> project, without any RTEMS patches.  Is that the best thing to do now, 
> or would there be benefits in also applying the RTEMS patches?
> Is remote debugging (either via serial or ethernet) possible on the 
> Coldfire?  In Oct 2004, Chris Johns wrote, "I do not know of a stub 
> for remote ethernet debugging if BDM is not connected" 
> (<>). 
> Later in that thread, RTEMS librdbg, <
> > and <
> > were all mentioned, but I never saw anyone say that any of them were 
> working for the Coldfire.
> What about RTEMS awareness?  
> <> says, "Currently 
> GDB is not RTEMS aware. GDB scripts exist that can help..." but the 
> RTEMS/GDB User's Guide at 
> <> 
> talks about thread control.  Is that just using the scripts?  If so, I 
> presume that they will work with the stock GDB.
> How do people use the pre-compiled m68k binaries from the RTEMS site 
> (such as 
> <> 
> if they don't support BDM or remote debugging?  I must be missing 
> something obvious.  Thanks for any help or suggestions.
> Steve
> ---
> Steve Strobel
> Link Communications, Inc.
> 1035 Cerise Rd
> Billings, MT 59101-7378
> (406) 245-5002 ext 102
> (406) 245-4889 (fax)
> WWW:
> MailTo:steve.strobel at

Victor Vengerov
OKTET Labs, St.-Petersburg, Russia
Phone: +78124286709 (office) +78129389372 (mobile) +78124281653 (home)

More information about the users mailing list