]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/python/python.c
gdb/python: reformat an error string
[thirdparty/binutils-gdb.git] / gdb / python / python.c
index fd760f6a98b1e2b9f1cd85722431b7fb2bf82b0e..009c0c4c6d7b5cc60bcb3e7064ddf9f942d9ad6c 100644 (file)
@@ -1320,7 +1320,7 @@ gdbpy_print_stack (void)
              PyErr_Clear ();
            }
          else
-           fprintf_filtered (gdb_stderr, "Python Exception %s %s: \n",
+           fprintf_filtered (gdb_stderr, "Python Exception %s: %s\n",
                              type.get (), msg.get ());
        }
       catch (const gdb_exception &except)