Hi, I forgot to mention versions: (gdb) show version GNU gdb 4.17.0.11 with Linux support Copyright 1998 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-unknown-linux". compiler version: [deltax@mcg5a RTThread]$ g++ -v Reading specs from /usr/lib/gcc-lib/ppc-redhat-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release) > >Hi, > >While running gdb, the debugger gets a fatal unkown signal, after that the whole >debuuger hangs. If I run the same programm without dbg, it runs fine. Here is >the output on debuuger screen: > >-------------------------------------------------- > >ObjecTime Micro Run Time System >Release 5.21.C.00 >Copyright (c) 1993-1998 ObjecTime Limited > >Program received signal ?, Unknown signal. >0x14fb4c0 in __syscall_rt_sigsuspend () at soinit.c:59 >soinit.c:59: No such file or directory. >Current language: auto; currently c >(gdb) info stack >#0 0x14fb4c0 in __syscall_rt_sigsuspend () at soinit.c:59 >#1 0x14fa1f0 in __sigsuspend (set=0x7ffff828) > at ../sysdeps/unix/sysv/linux/sigsuspend.c:48 >#2 0x173bfd0 in __pthread_create_2_1 (thread=0x1baa6f0, attr=0x7ffff8d8, > start_routine=0x18029e8 <RTThread::run(RTThread *)>, arg=0x1baa5c8) > at restart.h:32 >#3 0x18028fc in RTThread::RTThread (this=0x1baa5c8, job=0x8, > stack_size=20000, prio=8) at ../src/target/HALINUXLIB10/RTThread/ct.cc:98 >#4 0x1826884 in RTMain::initUpdateThreads (debugger=0x7ffffac8) > at ../../C++/TargetRTS/RTSystem.cpp:4074 >#5 0x1801850 in RTMain::entryPoint (_argc=-4, _argv=0x8) > at ../src/RTMain/entryPoint.cc:185 >#6 0x18016b4 in main (argc=1, argv=0x7ffffc24) > at /home/deltax/scripts/root.cc:37 >#7 0x14f27d4 in __libc_start_main () > at ../sysdeps/powerpc/elf/libc-start.c:106 >(gdb) >warning: Signal ? does not exist on this system. > >-------------------------------------------------- >After that I have to kill the process to exit. > >Please let me know any workaround for this > > >Rajesh > > > > > _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb
