-Wpointer-sign: bookmarks.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:32:56 +0000 (15:32 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:32:56 +0000 (15:32 +0000)
commit0f928d685b5b8adbf5e557fb21da52e4b8aace8b
tree0deef82fa78ad907acdc98291fb2e1628f835f7a
parent89f6d8377b9a3a157db806a7b3fb30f3f8e353ca
-Wpointer-sign: bookmarks.

Bookmarks are opaque to the core code -- by design, the target is free
to use any sort of blob as bookmark identifier.

The record target chooses to use strings for bookmarks.  This adds
casts following that direction, fixing -Wpointer-sign warnings.

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

* record-full.c (record_full_get_bookmark): Change local 'ret'
type to char * and add cast to gdb_byte *.
(record_full_goto_bookmark): Handle 'bookmark' argument as a
string.
* reverse.c (goto_bookmark_command): Add casts to gdb_byte *.
gdb/ChangeLog
gdb/record-full.c
gdb/reverse.c