Be sure to have installed all the stuff before you end here.
Mark Castelluccio needs to be tweaked a bit. I made the following changes:
The updated file can be found here: mrmtest-new.tar.gz
The zip file contains a compiled mrmtest.s19. Start in the directory where the files have been extracted with
$ m68k-bdm-elf-gdb mrmtest.s19
//add source code here + tar ball link here.
$ m68k-bdm-elf-gdb mrmtest.s19 GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-cygwin --target=m68k-bdm-elf"... debugFlag now 0 Setting bdm bdm_hw_init ... BDM status: 0x4 (gdb68)
This is better. Now set a breakpoint in main and run the program with 'r'.
(gdb68) b main
Breakpoint 1 at 0x54c: file mrmtest.C, line 28.
(gdb68) r
Starting program: /cygdrive/c/data/hardware/mc332/mrm/test/mrmtest.s19
Do you want to download `/cygdrive/c/data/hardware/mc332/mrm/test/mrmtest.s19'?(y or n) y
Breakpoint 1, main () at mrmtest.C:28
28 int main(void) {
(gdb68)