Re: Help with building gdb with BDM support for the Coldfire
Chris Johns <[email protected]> Wed, 07 May 2008 09:57:57 +1000
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
Mark Giacobbe wrote: > I'm sorry, I don't understand your question. What registers do you want > me to add? > Take a look in the top of m68k/gdbserver/m68k-bdm-low.c in the BDM package and you will see the register mappings for the various devices. The 5307/5407 is missing. A table with the registers for this device needs to be added and then an entry added to the m68k_bdm_reg_map table. After that add a little logic in m68k_bdm_create_inferior. For this device I think the version number of the debug module is all you need to check. The last part is the XML definition. I would just copy the closest one and change it. This file needs to be added to the list in m68k/gdbserver/Makefile.am. The XML file is sent to GDB and all you need to make sure if the definitions in the XML match the table in m68k/gdbserver/m68k-bdm-low.c. Regards Chris --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.