From: Hui Zhu <teawater@gmail.com>
To: Tom Tromey <tromey@redhat.com>,
Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches ml <gdb-patches@sourceware.org>
Subject: Re: [PATCH/RFC] Move the cmdarg before load execarg
Date: Sun, 30 Jan 2011 00:52:00 -0000 [thread overview]
Message-ID: <AANLkTik8JTrT81fzsZS28371RdnmJi28gm7=tH4QCAcA@mail.gmail.com> (raw)
In-Reply-To: <m3ei7xgrdu.fsf@fleche.redhat.com>
On Fri, Jan 28, 2011 at 20:11, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>
> Jan> It apparently breaks the much more common case of:
> Jan> gdb program -ex 'b main'
>
> FWIW, I think backward compatibility here is more important than whether
> or not the options are defined in the best way possible. In this case
> it is especially true, since there is a fairly reasonable workaround.
>
> Tom
>
Agree with you.
Do you think we can add some other options to let gdb exec some
command before load the file?
Cause my gdb support multi-arch, but need "set gnutarget" everytime
when I use it. So I want add a alias in my bashrc like alias
arm-gdb='gdb -ex "set gnutarget"' or a shell to make it works better.
Thanks,
Hui
next prev parent reply other threads:[~2011-01-30 0:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-28 9:28 Hui Zhu
2011-01-28 9:58 ` Jan Kratochvil
2011-01-28 12:25 ` Tom Tromey
2011-01-30 0:52 ` Hui Zhu [this message]
2011-01-31 15:03 ` Jan Kratochvil
2011-02-08 13:39 ` Hui Zhu
2011-01-31 15:05 ` Tom Tromey
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='AANLkTik8JTrT81fzsZS28371RdnmJi28gm7=tH4QCAcA@mail.gmail.com' \
--to=teawater@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=tromey@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).