From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25213 invoked by alias); 3 Jan 2005 06:50:17 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25185 invoked from network); 3 Jan 2005 06:50:10 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 3 Jan 2005 06:50:10 -0000 Received: from zaretski (IGLD-83-130-245-116.inter.net.il [83.130.245.116]) by legolas.inter.net.il (MOS 3.5.6-GR) with ESMTP id DLG48434 (AUTH halo1); Mon, 3 Jan 2005 08:49:56 +0200 (IST) Date: Mon, 03 Jan 2005 06:50:00 -0000 From: "Eli Zaretskii" To: Russell Shaw Message-ID: <01c4f160$Blat.v2.2.2$31b1b220@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb@sources.redhat.com In-reply-to: <41D8DA3B.5040406@netspace.net.au> (message from Russell Shaw on Mon, 03 Jan 2005 16:38:03 +1100) Subject: Re: Shell commands Reply-to: Eli Zaretskii References: <41D8DA3B.5040406@netspace.net.au> X-SW-Source: 2005-01/txt/msg00016.txt.bz2 > Date: Mon, 03 Jan 2005 16:38:03 +1100 > From: Russell Shaw > > Does the gdb shell have a command to run a unix shell command? Yes, and it's called `shell'. That is, "shell ls" will run `ls' in the current directory. Just "shell" starts an inferior shell (you need to explicitly exit the shell to return to GDB). If you tried to look for that in the GDB manual, but failed to find, please describe how you tried to find it, as that might be some problem with the manual indexing or something.