Hi:

   I'am using the crossing-compile and debugging system for powerpc on X86.
I have two version of cross-gdb for powerpc (version 4.18 and version 5.0).
"powerpc-eabi" is the configuration.

   When I using gdb50 to debug my program on MVME2600 through PPCBug. There
is always an error:

Linux-gz:/usrs/gz/src/nucl_multiboard>ppcgdb50 a.out
GNU gdb 5.0
Copyright 2000 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=i586-pc-linux-gnu --target=powerpc-eabi"...
PowerPC / RS6000 processor variant is set to `604'.
.gdbinit:2: Error in sourced command file:
monitor_supply_register (64):  bad value from monitor: 00004000 MSR
=00003040
PPC1-Bug>.D60FFFF  ADDIS       R11,R0,$FFFF0000000 SPR9   =00000000
(gdb)


My .gdbinit file  is like that:
   set processor 604
   target ppcbug /dev/ttyS1
   load a.out
   b _start

But when I am using vesion 4.18 , it always works well.


Reply via email to