diff options
author | David Carlton <carlton@bactrian.org> | 2003-01-12 20:55:32 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-01-12 20:55:32 +0000 |
commit | d27c75f68d633ddb21f437d5596d2ceb73e37c3d (patch) | |
tree | 5ea71b894bd65ba2d1d5b3f1b0e6688fd74c3528 /gdb/linespec.c | |
parent | 6645368bdccca24284a2cd5358205f51c1a39afe (diff) | |
download | gdb-d27c75f68d633ddb21f437d5596d2ceb73e37c3d.tar.gz |
2003-01-12 David Carlton <carlton@bactrian.org>
* linespec.c (symtab_from_filename): Rename variable 's' to
'file_symtab'.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r-- | gdb/linespec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c index fc64ebe0f71..e4dd2b11076 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1177,7 +1177,7 @@ symtab_from_filename (char **argptr, char *p, int is_quote_enclosed) { char *p1; char *copy; - struct symtab *s; + struct symtab *file_symtab; p1 = p; while (p != *argptr && p[-1] == ' ') @@ -1193,8 +1193,8 @@ symtab_from_filename (char **argptr, char *p, int is_quote_enclosed) copy[p - *argptr] = 0; /* Find that file's data. */ - s = lookup_symtab (copy); - if (s == 0) + file_symtab = lookup_symtab (copy); + if (file_symtab == 0) { if (!have_full_symbols () && !have_partial_symbols ()) error ("No symbol table is loaded. Use the \"file\" command."); @@ -1207,7 +1207,7 @@ symtab_from_filename (char **argptr, char *p, int is_quote_enclosed) p++; *argptr = p; - return s; + return file_symtab; } |