[v3,2/5] Fix formatting buglet in python.c
Checks
Context |
Check |
Description |
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gdb_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gdb_check--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 |
success
|
Testing passed
|
Commit Message
python.c has a split string that is missing a space. There's also a
stray backslash in this code.
---
gdb/python/python.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 2/20/24 20:46, Tom Tromey wrote:
> python.c has a split string that is missing a space. There's also a
> stray backslash in this code.
LGTM.
Reviewed-By: Tom de Vries <tdevries@suse.de>
Thanks,
- Tom
> ---
> gdb/python/python.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gdb/python/python.c b/gdb/python/python.c
> index 7b0997c8d52..b2e8f244f85 100644
> --- a/gdb/python/python.c
> +++ b/gdb/python/python.c
> @@ -1601,7 +1601,7 @@ gdbpy_print_stack (void)
> /* An error occurred computing the string representation of the
> error message. */
> gdb_printf (gdb_stderr,
> - _("Error occurred computing Python error" \
> + _("Error occurred computing Python error "
> "message.\n"));
> PyErr_Clear ();
> }
>
@@ -1601,7 +1601,7 @@ gdbpy_print_stack (void)
/* An error occurred computing the string representation of the
error message. */
gdb_printf (gdb_stderr,
- _("Error occurred computing Python error" \
+ _("Error occurred computing Python error "
"message.\n"));
PyErr_Clear ();
}