* 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.
This commit is contained in:
Tom Tromey 2012-10-18 20:14:45 +00:00
parent 94b0e70d0c
commit 0b0865da62
8 changed files with 20 additions and 8 deletions

View file

@ -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);