From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16642 invoked by alias); 16 Sep 2008 10:18:48 -0000 Received: (qmail 16631 invoked by uid 22791); 16 Sep 2008 10:18:47 -0000 X-Spam-Check-By: sourceware.org Received: from qb-out-1314.google.com (HELO qb-out-1314.google.com) (72.14.204.173) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 Sep 2008 10:18:12 +0000 Received: by qb-out-1314.google.com with SMTP id e19so3350156qbe.0 for ; Tue, 16 Sep 2008 03:18:10 -0700 (PDT) Received: by 10.141.132.1 with SMTP id j1mr5527961rvn.64.1221560289993; Tue, 16 Sep 2008 03:18:09 -0700 (PDT) Received: by 10.140.158.13 with HTTP; Tue, 16 Sep 2008 03:18:09 -0700 (PDT) Message-ID: <31cff80d0809160318m7d6df1dbr89979d4f18c3a77f@mail.gmail.com> Date: Tue, 16 Sep 2008 10:18:00 -0000 From: "ranjith kumar" To: gdb@sourceware.org Subject: executing shell commands at gdb prompt MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00094.txt.bz2 Hi, I am new to gdb. I want to know is there any way to execute shell commands (like ls, ps .......) at gdb command prompt?? Suppose if I want to know list of files in current directory while running "gdb", I have to open another shell to know it. Without opening it, is it possible to execute "ls " command at gdb command prompt?? Thanks in advance.