Operating System - Linux
1748228 Members
4158 Online
108759 Solutions
New Discussion юеВ

GDB : Process not running at wait call.

 
SOLVED
Go to solution
Paul Glass
Advisor

GDB : Process not running at wait call.

Hi all,

If I try to run a prog in GDB that uses either system() or popen(), GDB hangs with a message like
[New process 20071]
warning: Process not running at wait call.

I can see the process using ps and it looks normal. If I kill the process I get

Detaching after fork from process 28093
ttrace: Permission denied.
0x7b013580 in _read_sys () from /usr/lib/libc.2

and any attempt to step or continue gets a "ttrace: Permission denied".

Any ideas how I can get around this?

I am using gcc 3.4.3, gdb 5.3, HP-UX 11.11.

Regards,
Paul
2 REPLIES 2
Dennis Handly
Acclaimed Contributor
Solution

Re: GDB : Process not running at wait call.

>I am using gcc 3.4.3, gdb 5.3, HP-UX 11.11.

I suggest you download the latest gdb:
http://www.hp.com/go/wdb
Paul Glass
Advisor

Re: GDB : Process not running at wait call.

Thanks Dennis, that works fine now.