753f5e6
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193763
753f5e6
add1a2d
[base]
753f5e6
add1a2d
2007-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
add1a2d
add1a2d
	Updated for the longer `$allocate' marker.
add1a2d
 
753f5e6
Index: gdb-6.5/gdb/linespec.c
753f5e6
===================================================================
753f5e6
--- gdb-6.5.orig/gdb/linespec.c	2006-08-24 02:57:04.000000000 -0300
753f5e6
+++ gdb-6.5/gdb/linespec.c	2006-08-24 02:57:07.000000000 -0300
753f5e6
@@ -295,7 +295,7 @@ add_minsym_members (const char *class_na
753f5e6
      This will give us a list of all the member names including
753f5e6
      the function signature.  */
753f5e6
   completion_name = xmalloc (strlen (class_name) +
753f5e6
-			     strlen (member_name) + 9);
add1a2d
+			     strlen (member_name) + strlen("'::$allocate(") + 1);
753f5e6
   completion_name[0] = '\'';
753f5e6
   strcpy (completion_name+1, class_name);
753f5e6
   /* FIXME: make this the language class separator.  */