This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] -Wwrite-strings: execute_command calls with string literals
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 05 Apr 2017 21:31:48 -0400
- Subject: [binutils-gdb] -Wwrite-strings: execute_command calls with string literals
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 9b2eba3dcc6b41f17180e1aee29ed133f942c733 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9b2eba3dcc6b41f17180e1aee29ed133f942c733
-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.