[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shell commands within DDD

From: Trevor Woolven
Subject: Shell commands within DDD
Date: Wed, 24 Oct 2001 18:20:26 +0100

Hi there,

I have a gdb command defined in my .gdbinit file that I'd like to be
able to use from inside ddd. The command runs a perl script
that pipes it's output into a temporary file and then 'sources' the
temporary file:

define my_command
shell perl_script $arg0 /dev/ttyS0 > .gdbtmp
source .gdbtmp

When I run this inside ddd it (the perl script) hangs and never returns
to ddd whereas it works fine inside gdb by itself.
Any ideas?

Lineo Inc. - (formerly Zentropix)

Tel: +44 (0)1273 234 647         Fax: +44 (0)1273 704 482

Visit http://www.zentropix.com/     for Real Time Linux Tools
Visit http://www.realtimelinux.org/ for Real Time Linux Information

reply via email to

[Prev in Thread] Current Thread [Next in Thread]