binutils-gdb/gdb/common
Sergio Durigan Junior fd332753fa 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.
2018-10-29 23:48:37 -04:00
..
agent.c Simple -Wshadow=local fixes 2018-10-04 22:51:45 -06:00
agent.h Get rid of -Wodr warning (PR build/23399) 2018-08-28 17:23:16 -04:00
array-view.h
ax.def
break-common.h
btrace-common.c Remove cleanups from btrace code 2018-06-08 07:05:49 -06:00
btrace-common.h Remove cleanups from btrace code 2018-06-08 07:05:49 -06:00
buffer.c
buffer.h
byte-vector.h
cleanups.c
cleanups.h
common-debug.c
common-debug.h
common-defs.h Define _FORTIFY_SOURCE in common-defs.h 2018-08-13 10:02:00 -06:00
common-exceptions.c
common-exceptions.h Mark END_CATCH as ATTRIBUTE_NORETURN (-Wmaybe-uninitialized warnings) 2018-05-30 14:18:47 +01:00
common-gdbthread.h
common-inferior.h
common-regcache.c
common-regcache.h Add regcache raw_compare method 2018-06-11 10:09:30 +01:00
common-types.h Avoid -Wnarrowing warnings in struct tramp_frame instances 2018-08-27 12:00:10 -06:00
common-utils.c Move 'is_regular_file' from common-utils.c to filestuff.c 2018-09-12 13:58:30 -04:00
common-utils.h Move 'is_regular_file' from common-utils.c to filestuff.c 2018-09-12 13:58:30 -04:00
common.host
common.m4
create-version.sh
def-vector.h
default-init-alloc.h
enum-flags.h Use unsigned as base type for some enums 2018-10-03 15:19:06 -06:00
environ.c
environ.h
errors.c
errors.h
fileio.c
fileio.h
filestuff.c Move mkdir_recursive to common/filestuff.c 2018-10-27 11:58:41 -06:00
filestuff.h Use mkostemp, not mkstemp 2018-10-27 11:58:41 -06:00
format.c
format.h
function-view.h
gdb_assert.h
gdb_locale.h
gdb_optional.h
gdb_proc_service.h Move duplicated code to common/gdb_proc_service.h 2018-10-01 10:37:39 +01:00
gdb_ref_ptr.h
gdb_setjmp.h
gdb_signals.h
gdb_splay_tree.h
gdb_string_view.h
gdb_string_view.tcc
gdb_sys_time.h
gdb_tilde_expand.c
gdb_tilde_expand.h
gdb_unique_ptr.h
gdb_unlinker.h
gdb_vecs.c
gdb_vecs.h Remove const_char_ptr typedef 2018-05-29 08:52:55 -06:00
gdb_wait.h
hash_enum.h
host-defs.h
job-control.c
job-control.h
mingw-strerror.c
netstuff.c Revert "GDBSERVER: Listen on a unix domain (instead of TCP) socket if requested." 2018-10-29 13:28:24 -04:00
netstuff.h Implement IPv6 support for GDB/gdbserver 2018-07-11 19:41:31 -04:00
new-op.c
observable.h
offset-type.h Remove relational operators from common/offset-type.h 2018-10-29 23:48:37 -04:00
pathstuff.c Move make_temp_filename to common/pathstuff.c 2018-10-27 11:58:40 -06:00
pathstuff.h Move make_temp_filename to common/pathstuff.c 2018-10-27 11:58:40 -06:00
poison.h
posix-strerror.c
preprocessor.h
print-utils.c
print-utils.h
ptid.c Remove ptid_equal 2018-07-03 11:36:46 -06:00
ptid.h Remove ptid_equal 2018-07-03 11:36:46 -06:00
queue.h
refcounted-object.h Use thread_info and inferior pointers more throughout 2018-06-21 17:09:31 +01:00
rsp-low.c
rsp-low.h
run-time-clock.c
run-time-clock.h
scoped_fd.h Do not reopen temporary files 2018-10-27 11:58:41 -06:00
scoped_mmap.c Mark more file descriptors close-on-exec 2018-09-23 12:11:16 -06:00
scoped_mmap.h Introduce mmap_file function 2018-08-07 18:10:29 -04:00
scoped_restore.h
selftest.c
selftest.h
signals-state-save-restore.c
signals-state-save-restore.h
signals.c
symbol.h
tdesc.c Simple unused variable removals 2018-07-22 13:20:01 -06:00
tdesc.h
traits.h
underlying.h
valid-expr.h
vec.c
vec.h
version.h
x86-xstate.h
xml-utils.c
xml-utils.h