summaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-10-18 20:14:44 +0000
committerTom Tromey <tromey@redhat.com>2012-10-18 20:14:44 +0000
commit2863a91d356ee1a36fd3d0c8f9d6fdd18d0fe6c9 (patch)
tree5ce93bb339bfc04805dfd9866015aac7921c6789 /gdb/symtab.c
parent2a9cc33208852e18f5f797183732f20478ece889 (diff)
downloadgdb-2863a91d356ee1a36fd3d0c8f9d6fdd18d0fe6c9.tar.gz
* tracepoint.c (print_one_static_tracepoint_marker): Constify.
* symtab.c (iterate_over_some_symtabs): Constify. * source.h (symtab_to_fullname): Return 'const char *'. * source.c (symtab_to_fullname): Return 'const char *'. * python/py-symtab.c (stpy_fullname): Constify. * cli/cli-cmds.c (edit_command): Constify. * breakpoint.c (print_breakpoint_location) (update_static_tracepoint): Constify.
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 cbfe4d07af2..7e1622226a2 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -242,7 +242,7 @@ iterate_over_some_symtabs (const char *name,
if (real_path != NULL)
{
- char *fullname = symtab_to_fullname (s);
+ const char *fullname = symtab_to_fullname (s);
if (fullname != NULL)
{