m68k-bdm debugging problem

Timothy Rost trost@arlut.utexas.edu
Fri Jun 25 16:26:00 GMT 1999

While trying to debug my m68k-coff (mc68332) "Hello World" program using
a Macraigor wiggler, gdb terminates the debugging with an error.  Any
ideas of what this mean and/or how to fix this error???

(gdb) next
error: bdm-exception default case: val_l 0x1f

Program received signal SIGGRANT, Monitor mode granted.
0xffe0001f in ?? ()

Also, the dubugger doesn't output the printf() data to the screen.  I
don't know if these problems are related or if my printf routine is
incorrect and a separate issue.

I'm using binutils-2.9.1, gcc-2.8.1, libstdc++-, newlib-1.8.1,
and gdb-4.17 with the patch for the motorola 68332 driver; the host
machine is a i386 running RedHat 5.1.  I compiled the debugger with the

Thanks in advance for any help,

Timothy Rost
Applied Research Laboratories
The University of Texas at Austin

#include "ModuleIO_AV297.h"
#include <stdio.h>

main() {
  int i, j;
  printf("Hello World this is main\n:);
  while(1) {
    for(i=0; i<500; i++);
    printf("Hello World %d\n", j++);
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

More information about the crossgcc mailing list