multi-threaded on MPC8xx
Schneider, Jan (GE51)
Jan.Schneider@honeywell.com
Wed Feb 2 16:17:00 GMT 2005
Hi,
I have a problem when debugging my multi-threaded program on a MPC855. I
have configured the GDB for this target.
This is what I get:
GNU gdb 6.1.1
Copyright 2004 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 "ppc-motorola-linux".
(gdb) file /home/xwadmin/helloworld/helloworld_multi
Reading symbols from /home/xwadmin/helloworld/helloworld_multi...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /home/xwadmin/helloworld/helloworld_multi
hello
Program received signal SIG32, Real-time event 32.
0x0fea802c in sigset () from /lib/libc.so.6
(gdb) hellohellohellohello
(gdb)
(gdb)
(gdb) c
Continuing.
world
Program received signal SIG32, Real-time event 32.
0x0fea802c in sigset () from /lib/libc.so.6
(gdb) world
world
world
world
Continuing.
Program received signal SIG32, Real-time event 32.
0x0fea802c in sigset () from /lib/libc.so.6
(gdb)
What am I doing wrong? Is it the configuration of the GDB? or my program?
Jan
More information about the Gdb
mailing list