From b021a2216627b2a56696125ff8a28985aae605e3 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Sat, 26 Feb 2011 02:07:10 +0000 Subject: 2011-02-25 Michael Snyder * 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. --- gdb/valops.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gdb/valops.c') diff --git a/gdb/valops.c b/gdb/valops.c index 5465aba..0c07e5c 100644 --- a/gdb/valops.c +++ b/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 -- cgit v1.1