[v2,2/5] Fix formatting buglet in python.c

Message ID 20240220-py-simple-exc-v2-2-c672f1984b4d@adacore.com
State New
Headers
Series Fix DAP pause bug |

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

Tom Tromey Feb. 20, 2024, 3:21 p.m. UTC
  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(-)
  

Patch

diff --git a/gdb/python/python.c b/gdb/python/python.c
index 845abb3aa86..09b1029e0b7 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -1572,7 +1572,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 ();
 	    }