aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-06 18:28:20 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-06 18:28:20 +0000
commit25f1b00810427752a10456206dc0c5289f997479 (patch)
tree22ec4c68389cd48e989e30c1993311a32056c1a7 /gdb/symtab.c
parent6c1e5d11fe715760c058d6ade2515df1fc5af8e7 (diff)
downloadgdb-25f1b00810427752a10456206dc0c5289f997479.zip
gdb-25f1b00810427752a10456206dc0c5289f997479.tar.gz
gdb-25f1b00810427752a10456206dc0c5289f997479.tar.bz2
* symtab.c (lookup_symtab): Remove ``const'' from ``rp''
declaration. Fix -Werror.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 05f777b..3a42867 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -181,7 +181,7 @@ got_symtab:
if (real_path != NULL)
{
- const char *rp = gdb_realpath (symtab_to_filename (s));
+ char *rp = gdb_realpath (symtab_to_filename (s));
make_cleanup (xfree, rp);
if (FILENAME_CMP (real_path, rp) == 0)
{