aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/go-valprint.c')
-rw-r--r--gdb/go-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/go-valprint.c b/gdb/go-valprint.c
index 32bb679..ade99c9 100644
--- a/gdb/go-valprint.c
+++ b/gdb/go-valprint.c
@@ -66,8 +66,8 @@ print_go_string (struct type *type,
/* TODO(dje): Print address of struct or actual string? */
if (options->addressprint)
{
- fputs_filtered (paddress (gdbarch, addr), stream);
- fputs_filtered (" ", stream);
+ gdb_puts (paddress (gdbarch, addr), stream);
+ gdb_puts (" ", stream);
}
if (length < 0)