diff options
author | Tom Tromey <tromey@redhat.com> | 2012-10-18 20:14:45 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-10-18 20:14:45 +0000 |
commit | 0b0865da626e7e2cd07073d11399dad643e192df (patch) | |
tree | 71054757a8f1361f0ed93d4deb8a91f8d5fafa20 /gdb/python | |
parent | 94b0e70d0c2a1309e3527a85a4c31a7eda4243d8 (diff) | |
download | gdb-0b0865da626e7e2cd07073d11399dad643e192df.zip gdb-0b0865da626e7e2cd07073d11399dad643e192df.tar.gz gdb-0b0865da626e7e2cd07073d11399dad643e192df.tar.bz2 |
* 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/python')
-rw-r--r-- | gdb/python/py-symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-symtab.c b/gdb/python/py-symtab.c index 21a172c..c023ad5 100644 --- a/gdb/python/py-symtab.c +++ b/gdb/python/py-symtab.c @@ -126,7 +126,7 @@ stpy_get_objfile (PyObject *self, void *closure) static PyObject * stpy_fullname (PyObject *self, PyObject *args) { - char *fullname; + const char *fullname; struct symtab *symtab = NULL; STPY_REQUIRE_VALID (self, symtab); |