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