From 5fd3d58ee9109b7a86b25504dc0cbd1739e6be01 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Sat, 19 Apr 2025 22:03:15 +0100 Subject: gdb/python: remove stray white space in error message Spotted a stray white space at the end of an error message. Removed, and updated the py-breakpoint.exp test to check this case. --- gdb/python/py-breakpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python') diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index 861e9a3..58998f5 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -948,7 +948,7 @@ bppy_init (PyObject *self, PyObject *args, PyObject *kwargs) else { PyErr_SetString (PyExc_RuntimeError, - _("Line keyword should be an integer or a string. ")); + _("Line keyword should be an integer or a string.")); return -1; } } -- cgit v1.1