Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@gnu.org>
To: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sources.redhat.com
Subject: Re: Shell commands
Date: Mon, 03 Jan 2005 06:50:00 -0000	[thread overview]
Message-ID: <01c4f160$Blat.v2.2.2$31b1b220@zahav.net.il> (raw)
In-Reply-To: <41D8DA3B.5040406@netspace.net.au> (message from Russell Shaw on Mon, 03 Jan 2005 16:38:03 +1100)

> Date: Mon, 03 Jan 2005 16:38:03 +1100
> From: Russell Shaw <rjshaw@netspace.net.au>
> 
> 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.


  reply	other threads:[~2005-01-03  6:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-03  5:34 Russell Shaw
2005-01-03  6:50 ` Eli Zaretskii [this message]
2005-01-03  7:00   ` Russell Shaw
2005-01-03 12:55     ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='01c4f160$Blat.v2.2.2$31b1b220@zahav.net.il' \
    --to=eliz@gnu.org \
    --cc=gdb@sources.redhat.com \
    --cc=rjshaw@netspace.net.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox