mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 21:34:13 +08:00
* 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:
@ -1081,7 +1081,7 @@ open_source_file (struct symtab *s)
|
||||
If this function fails to find the file that this symtab represents,
|
||||
NULL will be returned and s->fullname will be set to NULL. */
|
||||
|
||||
char *
|
||||
const char *
|
||||
symtab_to_fullname (struct symtab *s)
|
||||
{
|
||||
int r;
|
||||
|
Reference in New Issue
Block a user