This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]