aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-03-07 18:50:53 +0000
committerPedro Alves <palves@redhat.com>2013-03-07 18:50:53 +0000
commit20ced3e4887e055380433f1cb7f45cc411cba5eb (patch)
tree92c60abcbd5fcf592f306674d64fef222bbe47d9 /gdb/ser-tcp.c
parentfe106009bd9b2b6968256dba016a71e916e211fc (diff)
downloadgdb-20ced3e4887e055380433f1cb7f45cc411cba5eb.zip
gdb-20ced3e4887e055380433f1cb7f45cc411cba5eb.tar.gz
gdb-20ced3e4887e055380433f1cb7f45cc411cba5eb.tar.bz2
breakpoint.c: fix -Wpointer-sign
$ make WERROR_CFLAGS="-Wpointer-sign -Werror" breakpoint.o 2>&1 1>/dev/null ../../src/gdb/breakpoint.c: In function ‘breakpoint_xfer_memory’: ../../src/gdb/breakpoint.c:1578:2: error: pointer targets in passing argument 3 of ‘gdbarch_breakpoint_from_pc’ differ in signedness [-Werror=pointer-sign] In file included from ../../src/gdb/defs.h:644:0, from ../../src/gdb/breakpoint.c:20: ../../src/gdb/gdbarch.h:495:25: note: expected ‘int *’ but argument is of type ‘unsigned int *’ target_info.placed_size is an 'int', and gdbarch_breakpoint_from_pc takes an int too. gdb/ 2013-03-07 Pedro Alves <palves@redhat.com> * breakpoint.c.c (breakpoint_xfer_memory): Change type of local to int.
Diffstat (limited to 'gdb/ser-tcp.c')
0 files changed, 0 insertions, 0 deletions