-Wwrite-strings: execute_command calls with string literals
authorPedro Alves <palves@redhat.com>
Wed, 5 Apr 2017 18:21:36 +0000 (19:21 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 5 Apr 2017 18:21:36 +0000 (19:21 +0100)
commit9b2eba3dcc6b41f17180e1aee29ed133f942c733
treeda51db0080cdfd9c97da832bbe6f6b71cd665463
parent2adadf517063fb1c3b9240bf99ad339968c12f15
-Wwrite-strings: execute_command calls with string literals

This is ugly, but it's just making the uglyness explicit.

All these places would better be calling some API function directly
instead of going through execute_command & friends...

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

* event-top.c (command_line_handler): Add cast to execute_command
call.
* record-btrace.c (cmd_record_btrace_bts_start)
(cmd_record_btrace_pt_start, cmd_record_btrace_start)
(cmd_record_btrace_start): Add cast to execute_command call.
* record-full.c (record_full_goto_insn):
* record.c (record_start, record_stop): Add cast to
execute_command_to_string calls.
(cmd_record_start): Add cast to execute_command calls.
gdb/ChangeLog
gdb/event-top.c
gdb/record-btrace.c
gdb/record-full.c
gdb/record.c
This page took 0.026477 seconds and 4 git commands to generate.