summaryrefslogtreecommitdiff
path: root/gdb/jv-typeprint.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-12-07 03:56:43 +0000
committerJason Molenda <jmolenda@apple.com>1999-12-07 03:56:43 +0000
commitc2d11a7da0372ef052af1c74d56e264d8aae4743 (patch)
treeb2ceadb275bb9a170315ab66111c1f643c9ebf71 /gdb/jv-typeprint.c
parent1e37c28164d4f504b2ae8189d0b82a862cfa323d (diff)
downloadbinutils-gdb-c2d11a7da0372ef052af1c74d56e264d8aae4743.tar.gz
import gdb-1999-12-06 snapshot
Diffstat (limited to 'gdb/jv-typeprint.c')
-rw-r--r--gdb/jv-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-typeprint.c b/gdb/jv-typeprint.c
index 884bc127046..c7bd349f311 100644
--- a/gdb/jv-typeprint.c
+++ b/gdb/jv-typeprint.c
@@ -281,7 +281,7 @@ java_type_print_base (type, stream, show, level)
DMGL_ANSI | DMGL_PARAMS | DMGL_JAVA);
if (demangled_name == NULL)
- demangled_name = strdup (mangled_name);
+ demangled_name = xstrdup (mangled_name);
{
char *demangled_no_class;