aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-04-19 15:21:24 +0000
committerPedro Alves <palves@redhat.com>2013-04-19 15:21:24 +0000
commit70242eb16c06c7fcc080003af6c17ad9dfd634c1 (patch)
tree2478328b3f8feaba484517c0ee4865e663a6d215 /gdb/linux-thread-db.c
parent9d1dd0e275837ad325f8ff8f51bc3d5912fa3561 (diff)
downloadgdb-70242eb16c06c7fcc080003af6c17ad9dfd634c1.zip
gdb-70242eb16c06c7fcc080003af6c17ad9dfd634c1.tar.gz
gdb-70242eb16c06c7fcc080003af6c17ad9dfd634c1.tar.bz2
mips-tdep.c: Wrong signness for local holding PC register.
Addresses on MIPS are signed, and we're indeed using regcache_cooked_read_signed to read the PC, but, we're passing it the address of an unsigned variable, which triggers a -Wpointer-sign warning. I've chosen to change the variable's type. I believe this will end up being the same (though I can't test it). gdb/ 2013-04-19 Pedro Alves <palves@redhat.com> * mips-tdep.c (mips_read_pc): Change local 'pc' type to LONGEST.
Diffstat (limited to 'gdb/linux-thread-db.c')
0 files changed, 0 insertions, 0 deletions