help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB problem


From: Ishan
Subject: Re: GDB problem
Date: Wed, 27 Feb 2008 04:01:07 -0800 (PST)
User-agent: G2/1.0

I have done a "chmod a+s" on this program.
When I gdb it without doing the chmod, it works. Wonder whether this
problem is something to do with the setuid bit (that gets set when you
do chmod a+s).

Thanks,
Ishan.

On Feb 27, 2:43 pm, Ishan <address@hidden> wrote:
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]