I'm having some problems running gdb through eclipse europa as root. I
need to debug a program which tries to call some pthread functions that
requires root privileges.
Actually, all the processes are launched as root (eclipse, gdb and my
application) but when debugger reaches the first pthread function it
returns an error (permission denied). I have looked for some solution in
the newsgroup, and found one thread similar but the solution doesn't apply
here since I do run eclipse and then gdb as root.
If I run as root gdb and the application in console mode, there is no
problem at all. If I run just the application as root, no error. If I run
it as user, I got the same error. Sorry, but I don't have any guess.