From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: Patch: 'show args' -vs- '--args'
Date: Thu, 28 Feb 2008 17:40:00 -0000 [thread overview]
Message-ID: <m38x15m3xj.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20080228165420.GB1287@caradoc.them.org> (Daniel Jacobowitz's message of "Thu\, 28 Feb 2008 11\:54\:20 -0500")
>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
Daniel> I'm fine with either the above [...]
How about this?
Tom
ChangeLog:
2008-02-28 Tom Tromey <tromey@redhat.com>
* infcmd.c (notice_args_read): Print result of get_inferior_args.
Index: infcmd.c
===================================================================
RCS file: /cvs/src/src/gdb/infcmd.c,v
retrieving revision 1.170
diff -u -r1.170 infcmd.c
--- infcmd.c 28 Feb 2008 16:26:17 -0000 1.170
+++ infcmd.c 28 Feb 2008 17:26:48 -0000
@@ -273,9 +273,9 @@
notice_args_read (struct ui_file *file, int from_tty,
struct cmd_list_element *c, const char *value)
{
- deprecated_show_value_hack (file, from_tty, c, value);
- /* Might compute the value. */
- get_inferior_args ();
+ /* Note that we ignore the passed-in value in favor of computing it
+ directly. */
+ deprecated_show_value_hack (file, from_tty, c, get_inferior_args ());
}
\f
next prev parent reply other threads:[~2008-02-28 17:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 20:50 Tom Tromey
2008-02-13 1:54 ` Tom Tromey
2008-02-28 16:50 ` Daniel Jacobowitz
2008-02-28 16:54 ` Tom Tromey
2008-02-28 16:57 ` Daniel Jacobowitz
2008-02-28 17:19 ` Tom Tromey
2008-02-28 17:28 ` Daniel Jacobowitz
2008-02-28 17:40 ` Tom Tromey [this message]
2008-02-28 18:53 ` Daniel Jacobowitz
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=m38x15m3xj.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@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