mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 20:53:06 +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:
@ -48,7 +48,7 @@ extern int find_and_open_source (const char *filename,
|
||||
negative number for error. */
|
||||
extern int open_source_file (struct symtab *s);
|
||||
|
||||
extern char* symtab_to_fullname (struct symtab *s);
|
||||
extern const char *symtab_to_fullname (struct symtab *s);
|
||||
|
||||
/* Create and initialize the table S->line_charpos that records the
|
||||
positions of the lines in the source file, which is assumed to be
|
||||
|
Reference in New Issue
Block a user