[petsc-users] Attaching to gdb within screen

Jed Brown jed at 59A2.org
Wed Jun 22 08:35:14 CDT 2011


On Wed, Jun 22, 2011 at 15:23, John Fettig <john.fettig at gmail.com> wrote:

> The command passed to the debug_terminal seems to be wrong:
>
> ppid=24296 pwd=/home/jfe/test cmd=-display localhost:0.0 echo gdb
> /home/jfe/test/example 24296
>
> The exec line fails because of this.
>

Whoops, it should still work when you pass it with:

-debug_terminal "screen -X -S debug screen redirect.sh"

because there is special treatment for "screen" with regard to -display.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110622/4c2857e9/attachment.htm>


More information about the petsc-users mailing list