From: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sources.redhat.com
Subject: Re: Shell commands
Date: Mon, 03 Jan 2005 07:00:00 -0000 [thread overview]
Message-ID: <41D8EE7B.9090506@netspace.net.au> (raw)
In-Reply-To: <01c4f160$Blat.v2.2.2$31b1b220@zahav.net.il>
Eli Zaretskii wrote:
>>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).
I thought i typed "shell" in gdb and got on error response, but trying
it again now showed it's there.
I searched in all the help categories in gdb, but didn't find anything
at the time.
> 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.
Page 15 in the contents shows "shell commands", which was so obvious
i thought it meant the general gdb shell instead of the unix shell.
Just an unfortunate bunch of coincidences:(
next prev parent reply other threads:[~2005-01-03 7:00 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
2005-01-03 7:00 ` Russell Shaw [this message]
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=41D8EE7B.9090506@netspace.net.au \
--to=rjshaw@netspace.net.au \
--cc=gdb@sources.redhat.com \
/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