This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: X debugging
On Tue, Jul 11, 2006 at 08:45:03PM +1000, Russell Shaw wrote:
> Andreas Schwab wrote:
> >Russell Shaw <rjshaw@netspace.net.au> writes:
> >
> >> -rwsr-sr-x 1 root staff 7592426 2006-07-11 14:25 /usr/local/bin/Xorg
> >
> >A traced process ignores all setuid/gid privileges.
>
> Then i assume the only way to attach to a running system process to
> debug it is to run gdb/ddd as a root user?
Yes.
--
Daniel Jacobowitz
CodeSourcery