aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2018-10-25 16:46:46 -0400
committerSergio Durigan Junior <sergiodj@redhat.com>2018-10-29 23:48:37 -0400
commitfd332753fa7050bb9d7c89147e32d285099fe402 (patch)
tree83f2f3cc2b1bd6c3549d073330d5eddea3c309d0 /gdb/ChangeLog
parent9c3adfb9a409a240bb4cf087f0adeb8b1472f67a (diff)
downloadgdb-fd332753fa7050bb9d7c89147e32d285099fe402.zip
gdb-fd332753fa7050bb9d7c89147e32d285099fe402.tar.gz
gdb-fd332753fa7050bb9d7c89147e32d285099fe402.tar.bz2
Remove relational operators from common/offset-type.h
This patch is a follow-up of: https://sourceware.org/ml/gdb-patches/2018-10/msg00601.html It removes the declaration of the relational operators for common/offset-type.h. As it turns out, these overloads are not being used when a new offset type is declared, because, according to Pedro Alves: I think the functions aren't called because they are templates, and thus the built-in (non-template) versions take precedence. If you make them non-templates, then they should be called. But, the built-ins are fine, so yeah, we can just remove the custom definitions. The patch also adjusts the comments on the code. No regressions introduced. gdb/ChangeLog: 2018-10-29 Sergio Durigan Junior <sergiodj@redhat.com> * common/offset-type.h (DEFINE_OFFSET_REL_OP): Delete. Adjust comments.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 51ba04d..0207bec 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-29 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * common/offset-type.h (DEFINE_OFFSET_REL_OP): Delete.
+ Adjust comments.
+
2018-10-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* procfs.c: Include common/pathstuff.h.