[ELDK] gdb does not connect to BDI2000

Eibach, Dirk Eibach at gdsys.de
Tue Feb 3 15:31:43 CET 2009


> The current gdb has the nasty habit of not taking its command 
> name seriously, i.e. the name you call the debugger is *not* 
> the ultimate configuration choice.  Rather "CROSS_COMPILE" 
> overrides this.  Please be sure that CROSS_COMPILE=ppc_4xxFP- 
> and check again.

de at bob2:~/src/u-boot/u-boot-git$ export CROSS_COMPILE=ppc_4xxFP-
de at bob2:~/src/u-boot/u-boot-git$ ppc_4xxFP-gdb u-boot
GNU gdb Red Hat Linux (6.7-1rh)
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=ppc-linux".
The target architecture is set automatically (currently powerpc:403)
..

> It is also helpful to check what architecture gdb thinks it 
> debugs, so check 
> 
> (gdb) show architecture
> The target architecture is set automatically (currently powerpc:403)

(gdb) show architecture
The target architecture is set automatically (currently powerpc:e500) 

Hmmm, not what I hoped to see...

Cheers
Dirk



More information about the eldk mailing list