summaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-03-13 10:01:23 +0000
committerAndrew Cagney <cagney@redhat.com>2000-03-13 10:01:23 +0000
commit91df5389ad1bc9cc31a7e7c6527ae2446103b6db (patch)
treed314c2b7ae286c41cde1dafa4c14b6f8331cba40 /gdb/gdbtypes.h
parent5d8fa1d72eda52fe24effaadcb53edb5e4ba5af7 (diff)
downloadgdb-91df5389ad1bc9cc31a7e7c6527ae2446103b6db.tar.gz
From Daniel Berlin:
Fix C++ overloading, add support for seeing through references.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r--gdb/gdbtypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 3c124f06097..36f775a247a 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -1129,8 +1129,10 @@ count_virtual_fns PARAMS ((struct type *));
#define POINTER_CONVERSION_BADNESS 2
/* Badness of conversion of pointer to void pointer */
#define VOID_PTR_CONVERSION_BADNESS 2
-/* Badness of convering derived to base class */
+/* Badness of converting derived to base class */
#define BASE_CONVERSION_BADNESS 2
+/* Badness of converting from non-reference to reference */
+#define REFERENCE_CONVERSION_BADNESS 2
/* Non-standard conversions allowed by the debugger */
/* Converting a pointer to an int is usually OK */