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

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