aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/break-catch-sig.c')
-rw-r--r--gdb/break-catch-sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c
index 31a622c..9530dea 100644
--- a/gdb/break-catch-sig.c
+++ b/gdb/break-catch-sig.c
@@ -237,7 +237,7 @@ signal_catchpoint_print_one (struct breakpoint *b,
text += name;
}
- uiout->field_string ("what", text.c_str ());
+ uiout->field_string ("what", text);
}
else
uiout->field_string ("what",