diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-03-13 10:01:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-03-13 10:01:23 +0000 |
commit | db577aea67972fda821bfdf9143571bb2159c54d (patch) | |
tree | 0ed751caa70476041556a905d72c1bb1901ad7ce /gdb/gdbtypes.h | |
parent | 7b83ea04b2d7d79fbd2914e363ca9eab18bc2f52 (diff) | |
download | gdb-db577aea67972fda821bfdf9143571bb2159c54d.zip gdb-db577aea67972fda821bfdf9143571bb2159c54d.tar.gz gdb-db577aea67972fda821bfdf9143571bb2159c54d.tar.bz2 |
From Daniel Berlin:
Fix C++ overloading, add support for seeing through references.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 3c124f0..36f775a 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 */ |