diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-26 02:07:10 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-26 02:07:10 +0000 |
commit | b021a2216627b2a56696125ff8a28985aae605e3 (patch) | |
tree | b92fc609e8c9fd438b095e35eaf94416ddb85cb8 /gdb/valops.c | |
parent | 80549d04a2090e1c1a6a693485f577f9e45dcacc (diff) | |
download | gdb-b021a2216627b2a56696125ff8a28985aae605e3.zip gdb-b021a2216627b2a56696125ff8a28985aae605e3.tar.gz gdb-b021a2216627b2a56696125ff8a28985aae605e3.tar.bz2 |
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.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 |