Errors with GDB BDM

This is not meant to be complete: only to point out what to do in case of the trivial errors.

m68k-bdm-elf-gdb: command not found

$ m68k-bdm-elf-gdb
bash: m68k-bdm-elf-gdb: command not found

acohens@cnl07966 /cygdrive/c/data

Add /gcc-m68k/bin to your PATH: export PATH=/gcc-m68k/bin:$PATH

Even better: add it in your .bash_profile file!

BDM Error: No such device (1)

(reported by Marcel from Luxembourg)

$ m68k-bdm-elf-gdb
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".
(gdb) target bdm /dev/bdmcpu320
BDM error: No such device
(gdb) target bdm /dev/bdmcpu324
BDM error: No such device

Check your parallel port BIOS settings. It has to be one of the bidirectional settings. 

On my Dell Latitude C610 I use Std In & Out, on my Libretto I use ECP. Both seem to work.

BDM Error: No such device (2)

$ m68k-bdm-elf-gdb
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".
(gdb) target bdm /dev/bdmcpu320
error: could not access the GiveIO device.
BDM error: No such device
(gdb)
Probably giveio.sys is not installed or started. See giveio.sys instructions

Other BDM errors

Highly depends. Send me an output of the gdb transcript. Please use cut-and-paste and don't send any screen shots. It will be easier for me to add comments and questions.