aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2025-04-19 22:03:15 +0100
committerAndrew Burgess <aburgess@redhat.com>2025-04-22 17:50:55 +0100
commit5fd3d58ee9109b7a86b25504dc0cbd1739e6be01 (patch)
treeb62a1cc731e660d044609712a1acae72580e08b1 /gdb/python
parent4183b1e3a2f36dd67e25dff4be642c48bf214d64 (diff)
downloadbinutils-5fd3d58ee9109b7a86b25504dc0cbd1739e6be01.zip
binutils-5fd3d58ee9109b7a86b25504dc0cbd1739e6be01.tar.gz
binutils-5fd3d58ee9109b7a86b25504dc0cbd1739e6be01.tar.bz2
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.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-breakpoint.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}