gdb_byte for binary buffer, char for string: common/agent.c.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:27:54 +0000 (15:27 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:27:54 +0000 (15:27 +0000)
commitfda0389f6a7b957340f66e16f2362eb4f9586069
treef513b4ec071ff93df181569d7826279c707eef42
parentbc20a4afc3fa41cab07aa68571b713ecef0aa675
gdb_byte for binary buffer, char for string: common/agent.c.

Similarly to the remote code, agent commands are mostly ascii.  Cast to
gdb_byte when treating the command buffer as raw memory bytes.

2013-04-19  Pedro Alves  <palves@redhat.com>

* common/agent.c (agent_run_command): Add cast to gdb_byte *.
gdb/ChangeLog
gdb/common/agent.c