mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
2011-02-25 Michael Snyder <msnyder@vmware.com>
* arm-tdep.c: Fix typos in comments. * bsd-uthread.c: Ditto. * completer.c: Ditto. * corelow.c: Ditto. * cp-namespace.c: Ditto. * cp-support.c: Ditto. * cris-tdep.c: Ditto. * dbxread.c: Ditto. * dwarf2read.c: Ditto. * frame.h: Ditto. * gdbtypes.h: Ditto. * inferior.h: Ditto. * mdebugread.c: Ditto. * mips-tdep.c: Ditto. * ppc-linux-nat.c: Ditto. * ppc-linux-tdep.c: Ditto. * printcmd.c: Ditto. * sol-thread.c: Ditto. * solib-frv.c: Ditto. * solist.h: Ditto. * sparc64-tdep.c: Ditto. * spu-tdep.c: Ditto. * stabsread.c: Ditto. * symfile.c: Ditto. * valops.c: Ditto. * varobj.c: Ditto. * vax-nat.c: Ditto. * python/py-block.c: Ditto. * python/py-symbol.c: Ditto. * python/py-symtab.c: Ditto. * python/py-value.c: Ditto. * tui/tui-win.c: Ditto.
This commit is contained in:
14
gdb/valops.c
14
gdb/valops.c
@@ -2616,9 +2616,9 @@ find_overload_match (struct type **arg_types, int nargs,
|
||||
{
|
||||
const char *qualified_name = NULL;
|
||||
|
||||
/* If the the overload match is being search for both
|
||||
as a method and non member function, the first argument
|
||||
must now be dereferenced. */
|
||||
/* If the overload match is being search for both as a method
|
||||
and non member function, the first argument must now be
|
||||
dereferenced. */
|
||||
if (method == BOTH)
|
||||
arg_types[0] = TYPE_TARGET_TYPE (arg_types[0]);
|
||||
|
||||
@@ -2693,9 +2693,9 @@ find_overload_match (struct type **arg_types, int nargs,
|
||||
switch (compare_badness (func_badness, method_badness))
|
||||
{
|
||||
case 0: /* Top two contenders are equally good. */
|
||||
/* FIXME: GDB does not support the general ambiguous
|
||||
case. All candidates should be collected and presented
|
||||
the the user. */
|
||||
/* FIXME: GDB does not support the general ambiguous case.
|
||||
All candidates should be collected and presented the
|
||||
user. */
|
||||
error (_("Ambiguous overload resolution"));
|
||||
break;
|
||||
case 1: /* Incomparable top contenders. */
|
||||
@@ -3177,7 +3177,7 @@ value_aggregate_elt (struct type *curtype, char *name,
|
||||
}
|
||||
|
||||
/* Compares the two method/function types T1 and T2 for "equality"
|
||||
with respect to the the methods' parameters. If the types of the
|
||||
with respect to the methods' parameters. If the types of the
|
||||
two parameter lists are the same, returns 1; 0 otherwise. This
|
||||
comparison may ignore any artificial parameters in T1 if
|
||||
SKIP_ARTIFICIAL is non-zero. This function will ALWAYS skip
|
||||
|
||||
Reference in New Issue
Block a user