aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-03-07 18:45:51 +0000
committerPedro Alves <palves@redhat.com>2013-03-07 18:45:51 +0000
commitfe106009bd9b2b6968256dba016a71e916e211fc (patch)
treefdf86b8f47b0b9abbe4c3031900ce852b91bd912 /gdb/ChangeLog
parent8ac2c12b843ac2f5956bab975a1f855b70fe4fe0 (diff)
downloadgdb-fe106009bd9b2b6968256dba016a71e916e211fc.zip
gdb-fe106009bd9b2b6968256dba016a71e916e211fc.tar.gz
gdb-fe106009bd9b2b6968256dba016a71e916e211fc.tar.bz2
stap-probe.c: fix -Wpointer-sign
$ make WERROR_CFLAGS="-Wpointer-sign -Werror" stap-probe.o 2>&1 1>/dev/null ../../src/gdb/stap-probe.c: In function ‘handle_stap_probe’: ../../src/gdb/stap-probe.c:1306:19: error: pointer targets in assignment differ in signedness [-Werror=pointer-sign] cc1: all warnings being treated as errors make: *** [stap-probe.o] Error 1 provider is a string, so it's rightfully a char*. 'data' holds raw bytes (bfd_byte), so a cast is the right thing to do. gdb/ 2013-03-07 Pedro Alves <palves@redhat.com> * stap-probe.c (handle_stap_probe): Add cast to char*.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3b78b08..daa4089 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2013-03-07 Pedro Alves <palves@redhat.com>
+ * stap-probe.c (handle_stap_probe): Add cast to char*.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
* linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
RECORD_MSGRCV>: Pass a signed variable to
regcache_raw_read_signed, instead of an unsigned one.