* [PATCH] gdbserver, aarch64: Zero out regs in aarch64_linux_set_debug_regs.
@ 2013-09-12 15:38 Will Newton
2013-09-16 13:27 ` Pedro Alves
0 siblings, 1 reply; 5+ messages in thread
From: Will Newton @ 2013-09-12 15:38 UTC (permalink / raw)
To: gdb-patches; +Cc: patches
Apply the same fix that was applied to aarch64-linux-nat.c.
2013-09-12 Will Newton <will.newton@linaro.org>
* linux-aarch64-low.c (aarch64_linux_set_debug_regs): Zero
out regs.
---
gdb/gdbserver/linux-aarch64-low.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c
index e37f602..93246b3 100644
--- a/gdb/gdbserver/linux-aarch64-low.c
+++ b/gdb/gdbserver/linux-aarch64-low.c
@@ -600,6 +600,7 @@ aarch64_linux_set_debug_regs (const struct aarch64_debug_reg_state *state,
const CORE_ADDR *addr;
const unsigned int *ctrl;
+ memset (®s, 0, sizeof (regs));
iov.iov_base = ®s;
iov.iov_len = sizeof (regs);
count = watchpoint ? aarch64_num_wp_regs : aarch64_num_bp_regs;
--
1.8.1.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gdbserver, aarch64: Zero out regs in aarch64_linux_set_debug_regs.
2013-09-12 15:38 [PATCH] gdbserver, aarch64: Zero out regs in aarch64_linux_set_debug_regs Will Newton
@ 2013-09-16 13:27 ` Pedro Alves
2013-09-16 14:23 ` Will Newton
0 siblings, 1 reply; 5+ messages in thread
From: Pedro Alves @ 2013-09-16 13:27 UTC (permalink / raw)
To: Will Newton; +Cc: gdb-patches, patches
On 09/12/2013 04:38 PM, Will Newton wrote:
> 2013-09-12 Will Newton <will.newton@linaro.org>
>
> * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Zero
> out regs.
OK.
--
Pedro Alves
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gdbserver, aarch64: Zero out regs in aarch64_linux_set_debug_regs.
2013-09-16 13:27 ` Pedro Alves
@ 2013-09-16 14:23 ` Will Newton
2013-09-16 14:27 ` Pedro Alves
0 siblings, 1 reply; 5+ messages in thread
From: Will Newton @ 2013-09-16 14:23 UTC (permalink / raw)
To: Pedro Alves; +Cc: gdb-patches, Patch Tracking
On 16 September 2013 14:26, Pedro Alves <palves@redhat.com> wrote:
> On 09/12/2013 04:38 PM, Will Newton wrote:
>> 2013-09-12 Will Newton <will.newton@linaro.org>
>>
>> * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Zero
>> out regs.
>
> OK.
Thanks, applied. OK for the 7.6 branch?
--
Will Newton
Toolchain Working Group, Linaro
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gdbserver, aarch64: Zero out regs in aarch64_linux_set_debug_regs.
2013-09-16 14:23 ` Will Newton
@ 2013-09-16 14:27 ` Pedro Alves
2013-09-16 15:33 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Pedro Alves @ 2013-09-16 14:27 UTC (permalink / raw)
To: Will Newton; +Cc: gdb-patches, Patch Tracking
On 09/16/2013 03:23 PM, Will Newton wrote:
> On 16 September 2013 14:26, Pedro Alves <palves@redhat.com> wrote:
>> On 09/12/2013 04:38 PM, Will Newton wrote:
>>> 2013-09-12 Will Newton <will.newton@linaro.org>
>>>
>>> * linux-aarch64-low.c (aarch64_linux_set_debug_regs): Zero
>>> out regs.
>>
>> OK.
>
> Thanks, applied. OK for the 7.6 branch?
Sure.
--
Pedro Alves
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gdbserver, aarch64: Zero out regs in aarch64_linux_set_debug_regs.
2013-09-16 14:27 ` Pedro Alves
@ 2013-09-16 15:33 ` Joel Brobecker
0 siblings, 0 replies; 5+ messages in thread
From: Joel Brobecker @ 2013-09-16 15:33 UTC (permalink / raw)
To: Pedro Alves; +Cc: Will Newton, gdb-patches, Patch Tracking
> > Thanks, applied. OK for the 7.6 branch?
>
> Sure.
All good from my end, but JIC I do not think we will be producing
another release off that branch...
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-09-16 15:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-12 15:38 [PATCH] gdbserver, aarch64: Zero out regs in aarch64_linux_set_debug_regs Will Newton
2013-09-16 13:27 ` Pedro Alves
2013-09-16 14:23 ` Will Newton
2013-09-16 14:27 ` Pedro Alves
2013-09-16 15:33 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox