-Wpointer-sign: monitor.c.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 17:44:18 +0000 (17:44 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 17:44:18 +0000 (17:44 +0000)
commit12ff8552b9d6e9adf04d1b0443c9a77e27bf0d82
tree582e22c47fe79bbefabef003642c5e18dd331299
parent9c37696b249b48558ff2162259fc77360c38f28e
-Wpointer-sign: monitor.c.

This fixes -Wpointer-sign issues in monitor.c.

Tested by building on x86_64 Fedora 17 w/ --enable-targets=all.

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

* monitor.c (monitor_write_memory, monitor_write_memory_bytes):
Change type of 'myaddr' parameter to gdb_byte pointer.
(monitor_write_memory_longlongs): Likewise.  Cast 'myaddr' pointer
to 'long long' pointer instead of to 'unsigned long long'.
(monitor_write_memory_block, monitor_read_memory_single)
(monitor_read_memory): Change type of 'myaddr' parameter to
gdb_byte pointer.
gdb/ChangeLog
gdb/monitor.c