This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

m68k-bdm debugging problem


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++-2.8.1.1, 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
target=m68k-bdm-coff.

Thanks in advance for any help,

Timothy Rost
Applied Research Laboratories
The University of Texas at Austin

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

main() {
  int i, j;
  printf("Hello World this is main\n:);
  j=0;
  while(1) {
    for(i=0; i<500; i++);
    printf("Hello World %d\n", j++);
  }
  exit(1);
}
_______________________________________________
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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]