aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-08-19 12:07:45 +0100
committerPedro Alves <palves@redhat.com>2016-08-19 12:11:55 +0100
commitc8ef42eed100c2439e600e846caa7437da93ac17 (patch)
tree16eaa9a4f76860a0926bdac3828d122d49f82373 /gdb/gdbserver/ChangeLog
parent9c235a72a112c5656f17499c0c0d3ad73609833d (diff)
downloadgdb-c8ef42eed100c2439e600e846caa7437da93ac17.zip
gdb-c8ef42eed100c2439e600e846caa7437da93ac17.tar.gz
gdb-c8ef42eed100c2439e600e846caa7437da93ac17.tar.bz2
x32: Avoid unsigned long when installing fast tracepoint jump pads
We're casting through unsigned long to write a 64-bit immediate operand of movabs (the comment said movl, but that was incorrect). The problem is that unsigned long is 32-bit on x32, so we were writing fewer bytes than necessary. Fix this by using an 8 byte memcpy like in other similar places in the function. gdb/gdbserver/ChangeLog: 2016-08-19 Pedro Alves <palves@redhat.com> * linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Fix comment. Use memcpy instead of casting through unsigned long.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index ed53648..f59d389 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
2016-08-19 Pedro Alves <palves@redhat.com>
+ * linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Fix
+ comment. Use memcpy instead of casting through unsigned long.
+
+2016-08-19 Pedro Alves <palves@redhat.com>
+
* linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try
allocating around 0x80000000.