aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch/arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch/arc.c')
-rw-r--r--gdb/arch/arc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arch/arc.c b/gdb/arch/arc.c
index 3808f9f..dff4575 100644
--- a/gdb/arch/arc.c
+++ b/gdb/arch/arc.c
@@ -38,7 +38,7 @@ STATIC_IN_GDB target_desc *
arc_create_target_description (const struct arc_arch_features &features)
{
/* Create a new target description. */
- target_desc *tdesc = allocate_target_description ();
+ target_desc *tdesc = allocate_target_description ().release ();
#ifndef IN_PROCESS_AGENT
std::string arch_name;