The way GDB accesses programs intended for the IDP board has changed. With this release, as with the previous one, you should compile programs for this board using `-Tidp.ld' and the `-nostartfiles' option (this option is not necessary for COFF configurations):
m68k-coff-gcc ... -Tidp.ld ... or m68k-aout-gcc ... -Tidp.ld -nostartfiles ...
This yields a binary file which you can you convert to an S-record using
objcopy
, and then run directly on the IDP board
(see section `objcopy
' in The GNU Binary Utilities).
We used to provide pieces of a ROM68K tool chain which were needed to allow GDB to communicate with an IDP board over a serial line. Motorola now supplies a boot monitor called ROM68K with which GDB can communicate. To debug a program compiled in the manner described above, type the following on the GDB command line:
target rom68k device 9600
where device corresponds to the device you used to download the binary into the board (for example, `/dev/ttya').