aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport')
-rw-r--r--gdbsupport/ChangeLog4
-rw-r--r--gdbsupport/tdesc.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog
index adcc53a..cd05d6a 100644
--- a/gdbsupport/ChangeLog
+++ b/gdbsupport/ChangeLog
@@ -1,3 +1,7 @@
+2020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tdesc.h (allocate_target_description): Update return type.
+
2020-10-07 Tom Tromey <tromey@adacore.com>
* Makefile.in: Rebuild.
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,