Message ID | 20150124141517.GB19834@blokker.redhat.com |
---|---|
State | New |
Headers | show |
On 01/24/2015 10:15 PM, Mark Wielaard wrote: > Subject: [PATCH] Fix ARI warning in stack.c (return_command). > > gdb/ChangeLog > > * stack.c (return_command): Markup warning message with _. It is OK as the change is obvious. -- Yao
On Mon, Jan 26, 2015 at 06:51:20PM +0800, Yao Qi wrote: > On 01/24/2015 10:15 PM, Mark Wielaard wrote: > > Subject: [PATCH] Fix ARI warning in stack.c (return_command). > > > > gdb/ChangeLog > > > > * stack.c (return_command): Markup warning message with _. > > It is OK as the change is obvious. Thanks, pushed. I hadn't pushed yet because I didn't know which build target to run locally to check the ARI warning was fixed. Cheers, Mark
On 01/26/2015 07:42 PM, Mark Wielaard wrote: > I hadn't pushed yet because I didn't know which build target to run > locally to check the ARI warning was fixed. I don't know how to run ARI through make either, but we can run ARI script in local machine like this: $ bash ./contrib/ari/gdb_ari.sh -Wall -Werror stack.c
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 10c3855..6b89515 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-01-24 Mark Wielaard <mjw@redhat.com> + + * stack.c (return_command): Markup warning message with _. + 2015-01-23 Simon Marchi <simon.marchi@ericsson.com> PR gdb/17416 diff --git a/gdb/stack.c b/gdb/stack.c index 5f2a3dc..5831999 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -2464,7 +2464,7 @@ return_command (char *retval_exp, int from_tty) else { if (TYPE_NO_RETURN (thisfun->type)) - warning ("Function does not return normally to caller."); + warning (_("Function does not return normally to caller.")); confirmed = query (_("%sMake %s return now? "), query_prefix, SYMBOL_PRINT_NAME (thisfun)); }