At some point in the past "Suzy Deffeyes" <[EMAIL PROTECTED]> wrote:

> > Hi all,
> > I'm trying to debug an xfree86 module i'm writing using valgrind and would
> really
> > like to use the --gdb-attach=yes option. However, when valgrind asks if
> > i'd like to launch gdb, no matter what I type, valgrind doesn't seem to be
> receiving
> > the input, and so gdb is not launched. I've tried using --input-fd to no
> avail. It seems as
> > if the X server just closes all open fds when it starts?
> 
> Richardo-
> 
hi suzy,

> I've found older versions of gdb don't work, so you might try a newer gdb.

true. But in this case, gdb does work, the problem is launching gdb from
valgrind. Valgrind wants confirmation from me, and I can't give it (i belive it's
because X is blocking user input).

> Also, did you try on the valgrind mailing list?
>
no, not yet. I decided to ask here first, since it appears to be a xfree86
specific problem. Other programs work fine :(

> Valgrind is an awesome tool, it's saved my rear end numerous times.

yes indeed, same here!!

thanks for your reply, 
ricardo

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to