aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/tdesc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport/tdesc.h')
-rw-r--r--gdbsupport/tdesc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbsupport/tdesc.h b/gdbsupport/tdesc.h
index 14b5b5f..b70a564 100644
--- a/gdbsupport/tdesc.h
+++ b/gdbsupport/tdesc.h
@@ -328,7 +328,7 @@ struct target_desc_deleter
typedef std::unique_ptr<target_desc, target_desc_deleter> target_desc_up;
/* Allocate a new target_desc. */
-target_desc *allocate_target_description (void);
+target_desc_up allocate_target_description (void);
/* Set TARGET_DESC's architecture by NAME. */
void set_tdesc_architecture (target_desc *target_desc,