aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/common/poison.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fd027b2..3a7b654 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-02 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * common/poison.h (XDELETE): Fix typo.
+
2017-12-01 Andrew Cagney <cagney@redhat.com>
Joel Brobecker <brobecker@adacore.com>
Sergio Durigan Junior <sergiodj@redhat.com>
diff --git a/gdb/common/poison.h b/gdb/common/poison.h
index 1647c9c..e28b0e0 100644
--- a/gdb/common/poison.h
+++ b/gdb/common/poison.h
@@ -130,7 +130,7 @@ data type. Use operator delete instead.");
}
#undef XDELETE
-#define XDELETE(P) xdelete (p)
+#define XDELETE(P) xdelete (P)
template<typename T>
static T *