* linespec.c (symtab_from_filename): Check for the end of string.
This commit is contained in:
parent
7cf8042268
commit
edb2aadf8b
@ -1,3 +1,7 @@
|
||||
2011-08-26 Aleksandar Ristovski <aristovski@qnx.com>
|
||||
|
||||
* linespec.c (symtab_from_filename): Check for the end of string.
|
||||
|
||||
2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
|
||||
|
||||
PR mi/11912
|
||||
|
@ -1835,6 +1835,8 @@ symtab_from_filename (char **argptr, char *p, int is_quote_enclosed)
|
||||
}
|
||||
|
||||
/* Discard the file name from the arg. */
|
||||
if (*p1 == '\0')
|
||||
return file_symtab;
|
||||
p = p1 + 1;
|
||||
while (*p == ' ' || *p == '\t')
|
||||
p++;
|
||||
|
Loading…
Reference in New Issue
Block a user