projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0ac10
)
Constify user_defined_command
author
Tom Tromey
<tom@tromey.com>
Sun, 10 Sep 2017 03:40:16 +0000
(21:40 -0600)
committer
Tom Tromey
<tom@tromey.com>
Wed, 27 Sep 2017 14:44:31 +0000
(08:44 -0600)
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* cli/cli-script.c (user_defined_command): Constify.
gdb/ChangeLog
patch
|
blob
|
history
gdb/cli/cli-script.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index f65691d7b0643ccf8079b35b54003b072d6ca448..9ff18c65426ea5679423bdd57c65599be6e76a96 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+2017-09-27 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-script.c (user_defined_command): Constify.
+
2017-09-27 Tom Tromey <tom@tromey.com>
* cli/cli-dump.c (dump_memory_command, dump_value_command)
diff --git
a/gdb/cli/cli-script.c
b/gdb/cli/cli-script.c
index 37466fd76633f37c0c56ce91251d3de01e7be392..0a93e8b54f4763765f553db1f5e958e8061f9a37 100644
(file)
--- a/
gdb/cli/cli-script.c
+++ b/
gdb/cli/cli-script.c
@@
-1401,7
+1401,7
@@
validate_comname (char **comname)
/* This is just a placeholder in the command data structures. */
static void
-user_defined_command (char *ignore, int from_tty)
+user_defined_command (c
onst c
har *ignore, int from_tty)
{
}