summaryrefslogtreecommitdiff
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 f117bd52350..158ce036ac4 100644
--- a/gdb/break-catch-sig.c
+++ b/gdb/break-catch-sig.c
@@ -279,7 +279,7 @@ signal_catchpoint_print_one (struct breakpoint *b,
obstack_grow (&text, name, strlen (name));
}
obstack_grow (&text, "", 1);
- ui_out_field_string (uiout, "what", obstack_base (&text));
+ ui_out_field_string (uiout, "what", (const char *) obstack_base (&text));
do_cleanups (cleanup);
}
else