mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
Constify demangle_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * demangle.c (demangle_command): Constify.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* demangle.c (demangle_command): Constify.
|
||||||
|
|
||||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* progspace.c (maintenance_info_program_spaces_command):
|
* progspace.c (maintenance_info_program_spaces_command):
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
#define DEFAULT_DEMANGLING_STYLE AUTO_DEMANGLING_STYLE_STRING
|
#define DEFAULT_DEMANGLING_STYLE AUTO_DEMANGLING_STYLE_STRING
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void demangle_command (char *, int);
|
|
||||||
|
|
||||||
/* See documentation in gdb-demangle.h. */
|
/* See documentation in gdb-demangle.h. */
|
||||||
int demangle = 1;
|
int demangle = 1;
|
||||||
|
|
||||||
@ -159,7 +157,7 @@ is_cplus_marker (int c)
|
|||||||
/* Demangle the given string in the current language. */
|
/* Demangle the given string in the current language. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
demangle_command (char *args, int from_tty)
|
demangle_command (const char *args, int from_tty)
|
||||||
{
|
{
|
||||||
char *demangled;
|
char *demangled;
|
||||||
const char *name;
|
const char *name;
|
||||||
|
Reference in New Issue
Block a user