Hi, Trying to GDB a program on Solaris 5.10, I get the following error.
procfs: target_wait (wait_for_stop) line 3934, /proc/13225: Resource temporarily unavailable. When you quit from gdb, the program goes for an infinite loop. Only way to stop after that is to use "kill -9". Searching Google, I found that 32 & 64 bit difference can cause problems like this. When checked using the "file" command, both gdb and the program show as 32 bit. Any idea as to what's wrong here? Thanks, Ishan. $ gdb /home/release/5.10/<program> GNU gdb 6.6 Copyright (C) 2006 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 "i386-pc-solaris2.10"... (gdb) r Starting program: /home/release/5.10/<program> procfs: target_wait (wait_for_stop) line 3934, /proc/13225: Resource temporarily unavailable. (gdb) Platform: $ uname -a SunOS embeaker 5.10 Generic_120012-14 i86pc i386 i86pc
