Index: linespec.c =================================================================== RCS file: /cvs/src/src/gdb/linespec.c,v retrieving revision 1.51 diff -u -p -r1.51 linespec.c --- linespec.c 2 Aug 2003 03:59:40 -0000 1.51 +++ linespec.c 4 Sep 2003 20:12:21 -0000 @@ -461,6 +461,9 @@ is_objc_method_format (const char *s) /* Handle arguments that are just SYMBOL. */ else if ((strchr ("+-", s[0]) != NULL) && (s[1] == '[') && strchr(s, ']')) return 1; + else if (s[0] == ':' && s[1] == '\'' && strchr ("+-", s[2]) != NULL && + s[3] == '[' && strchr (s, ']')) + return 1; return 0; }