aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-12-02 20:28:22 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2017-12-02 20:28:41 -0500
commit6d83e819df0c71868d04db46c60ff0ecf8cf1914 (patch)
treed7be6c35c2e7c4830e9cfadde7387dee0f7074e7
parent035d856f2c3a30750e1260c595eca1e92e94421f (diff)
downloadgdb-6d83e819df0c71868d04db46c60ff0ecf8cf1914.zip
gdb-6d83e819df0c71868d04db46c60ff0ecf8cf1914.tar.gz
gdb-6d83e819df0c71868d04db46c60ff0ecf8cf1914.tar.bz2
Fix typo in poison.h
gdb/ChangeLog: * common/poison.h (XDELETE): Fix typo.
-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 *