gdb with 405 target

Matthias Fuchs matthias.fuchs at esd-electronics.com
Tue Jul 10 01:00:54 EST 2001


Hi,

I got the following problem when I try to debug a sample program on one
of our IBM405 targets.
I read some earlier postings in this list that describe similar
problems.

So my question: Is this problem already fixed ? Where can I find a fix ?

The kernel is build from the MontaVista 405 sources from beginning of
march.

sh-2.03# gdb /bin/demo
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 "powerpc-hardhat-linux"...
(gdb) run
Starting program: /bin/demo

Program terminated with signal SIGTRAP, Trace/breakpoint trap.
The program no longer exists.
(gdb)

Oops: Exception in kernel mode, sig: 5
NIP: C0002D70 XER: 00000000 LR: C00028BC SP: C0997E80 REGS: c0997dd0
TRAP: 2000
MSR: 00009230 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0996000[33] 'demo' Last syscall: 6
last math 00000000 last altivec 00000000
GPR00: 00000001 C0997E80 C0996000 C0997E90 30002BC0 30000828 30000828
00000000
GPR08: 300275C8 00000000 00000003 30026FF8 30026DC8 100A11E4 1009FDB0
00000000
GPR16: 00000000 00000000 00000000 1004CA70 00009230 00997E80 00000000
C00028BC
GPR24: C0002D70 10000034 00000000 30026B54 00000000 30026B88 300262C0
7FFFFA50
Call backtrace:
C00028BC 30004704 3000DEE0 30003204 30003144 30010C8C


Thanks for advice
Matthias
--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs at esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list