diff options
author | Tom Tromey <tromey@redhat.com> | 2008-02-28 17:43:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-02-28 17:43:47 +0000 |
commit | 258c00ccb0ca7ed81df2fd226ae2a36008b7df60 (patch) | |
tree | 709d432943a2d831a928a8c3dc24139e82070c48 /gdb/infcmd.c | |
parent | 8edfe2693228f91b78661dc04e8c91095ab19487 (diff) | |
download | gdb-258c00ccb0ca7ed81df2fd226ae2a36008b7df60.zip gdb-258c00ccb0ca7ed81df2fd226ae2a36008b7df60.tar.gz gdb-258c00ccb0ca7ed81df2fd226ae2a36008b7df60.tar.bz2 |
* infcmd.c (notice_args_read): Print result of get_inferior_args.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 9d889b2..70bf695 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -273,9 +273,9 @@ static void 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 ()); } |