This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
executing shell commands at gdb prompt
- From: "ranjith kumar" <ranjithproxy at gmail dot com>
- To: gdb at sourceware dot org
- Date: Tue, 16 Sep 2008 15:48:09 +0530
- Subject: executing shell commands at gdb prompt
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.