This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
multi-threaded on MPC8xx
- From: "Schneider, Jan (GE51)" <Jan dot Schneider at honeywell dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 2 Feb 2005 09:16:12 -0700
- Subject: multi-threaded on MPC8xx
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