This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] typo in cp-valprint.c
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: David Carlton <carlton at math dot stanford dot edu>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 16 Sep 2002 17:58:50 -0400
- Subject: Re: [RFA] typo in cp-valprint.c
- References: <ro1ptvdhapc.fsf@jackfruit.Stanford.EDU>
On Mon, Sep 16, 2002 at 02:43:43PM -0700, David Carlton wrote:
> I think there was a typo in one of the recent inclusions of
> check_stub_method_group: I'm getting a compiler warning which seems
> sensible. This fixes it so this call looks like its other calls.
Er, uh. Thank you for cleaning up after me, David - please commit
this.
>
> David Carlton
> carlton@math.stanford.edu
>
> 2002-09-16 David Carlton <carlton@math.stanford.edu>
>
> * cp-valprint.c (cp_print_class_method): Correct args to
> check_stub_method_group.
>
> Index: cp-valprint.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/cp-valprint.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 cp-valprint.c
> --- cp-valprint.c 14 Sep 2002 02:09:39 -0000 1.14
> +++ cp-valprint.c 16 Sep 2002 21:40:13 -0000
> @@ -127,7 +127,7 @@ cp_print_class_method (char *valaddr,
> f = TYPE_FN_FIELDLIST1 (domain, i);
> len2 = TYPE_FN_FIELDLIST_LENGTH (domain, i);
>
> - check_stub_method_group (f, j);
> + check_stub_method_group (domain, i);
> for (j = 0; j < len2; j++)
> {
> if (STREQ (SYMBOL_NAME (sym), TYPE_FN_FIELD_PHYSNAME (f, j)))
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer