This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Passing piped commands as argument to gdb
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Mahmood N <nt_mahmood at yahoo dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Mon, 22 Dec 2014 14:55:17 +0100
- Subject: Re: Passing piped commands as argument to gdb
- Authentication-results: sourceware.org; auth=none
- References: <20141222101613 dot GA15179 at host2 dot jankratochvil dot net> <829998882 dot 105409 dot 1419244812763 dot JavaMail dot yahoo at jws10620 dot mail dot bf1 dot yahoo dot com>
On Mon, 22 Dec 2014 11:40:12 +0100, Mahmood N wrote:
> $ gdb
I wrote:
gdb ./run_prog -ex 'run <pipe 6'
You typed a different command - so it does not work.
Jan