projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR29262, memory leak in pr_function_type
[binutils-gdb.git]
/
gdb
/
go-typeprint.c
diff --git
a/gdb/go-typeprint.c
b/gdb/go-typeprint.c
index 1729a1f7a648f60fd59913e8c2a1c76006f1f22c..4995ac3918673b8f3d510772a362ff7504922632 100644
(file)
--- a/
gdb/go-typeprint.c
+++ b/
gdb/go-typeprint.c
@@
-1,6
+1,6
@@
/* Support for printing Go types for GDB, the GNU debugger.
/* Support for printing Go types for GDB, the GNU debugger.
- Copyright (C) 2012-202
1
Free Software Foundation, Inc.
+ Copyright (C) 2012-202
2
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-54,10
+54,10
@@
go_language::print_type (struct type *type, const char *varstring,
if (type->code () == TYPE_CODE_ARRAY
&& TYPE_TARGET_TYPE (type)->code () == TYPE_CODE_CHAR)
{
if (type->code () == TYPE_CODE_ARRAY
&& TYPE_TARGET_TYPE (type)->code () == TYPE_CODE_CHAR)
{
-
fputs_filtered
("string", stream);
+
gdb_puts
("string", stream);
return;
}
/* Punt the rest to C for now. */
return;
}
/* Punt the rest to C for now. */
- c_print_type (type, varstring, stream, show, level, flags);
+ c_print_type (type, varstring, stream, show, level,
la_language,
flags);
}
}