Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] typo in cp-valprint.c
@ 2002-09-16 14:43 David Carlton
  2002-09-16 14:59 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: David Carlton @ 2002-09-16 14:43 UTC (permalink / raw)
  To: gdb-patches; +Cc: Daniel Jacobowitz

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.

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)))


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] typo in cp-valprint.c
  2002-09-16 14:43 [RFA] typo in cp-valprint.c David Carlton
@ 2002-09-16 14:59 ` Daniel Jacobowitz
  2002-09-16 15:04   ` David Carlton
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2002-09-16 14:59 UTC (permalink / raw)
  To: David Carlton; +Cc: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] typo in cp-valprint.c
  2002-09-16 14:59 ` Daniel Jacobowitz
@ 2002-09-16 15:04   ` David Carlton
  0 siblings, 0 replies; 3+ messages in thread
From: David Carlton @ 2002-09-16 15:04 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb-patches

On Mon, 16 Sep 2002 17:58:50 -0400, Daniel Jacobowitz <drow@mvista.com> said:
> 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.

Done.

David Carlton
carlton@math.stanford.edu


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-16 22:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-16 14:43 [RFA] typo in cp-valprint.c David Carlton
2002-09-16 14:59 ` Daniel Jacobowitz
2002-09-16 15:04   ` David Carlton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox