* [PATCH] [gdb/aarch64] Updated debug architecture version checks for fbsd
@ 2023-04-25 14:24 Luis Machado
2023-04-25 18:18 ` John Baldwin
0 siblings, 1 reply; 3+ messages in thread
From: Luis Machado @ 2023-04-25 14:24 UTC (permalink / raw)
To: gdb-patches; +Cc: jhb
There are two new debug architecture version entries. I updated the
code for Linux, but fbsd also needs updating.
This patch does this, and should be pretty straightforward.
I can't test this on native fbsd, but I'm fairly confident it should
work.
Signed-off-by: Luis Machado <luis.machado@arm.com>
---
gdb/aarch64-fbsd-nat.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gdb/aarch64-fbsd-nat.c b/gdb/aarch64-fbsd-nat.c
index 9dbbaf951f2..709f5162ce0 100644
--- a/gdb/aarch64-fbsd-nat.c
+++ b/gdb/aarch64-fbsd-nat.c
@@ -215,6 +215,8 @@ aarch64_fbsd_nat_target::probe_debug_regs (int pid)
case AARCH64_DEBUG_ARCH_V8_1:
case AARCH64_DEBUG_ARCH_V8_2:
case AARCH64_DEBUG_ARCH_V8_4:
+ case AARCH64_DEBUG_ARCH_V8_8:
+ case AARCH64_DEBUG_ARCH_V8_9:
break;
default:
return;
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [gdb/aarch64] Updated debug architecture version checks for fbsd
2023-04-25 14:24 [PATCH] [gdb/aarch64] Updated debug architecture version checks for fbsd Luis Machado
@ 2023-04-25 18:18 ` John Baldwin
2023-04-26 6:01 ` Luis Machado
0 siblings, 1 reply; 3+ messages in thread
From: John Baldwin @ 2023-04-25 18:18 UTC (permalink / raw)
To: Luis Machado, gdb-patches
On 4/25/23 7:24 AM, Luis Machado wrote:
> There are two new debug architecture version entries. I updated the
> code for Linux, but fbsd also needs updating.
>
> This patch does this, and should be pretty straightforward.
>
> I can't test this on native fbsd, but I'm fairly confident it should
> work.
>
> Signed-off-by: Luis Machado <luis.machado@arm.com>
LGTM, thanks!
--
John Baldwin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [gdb/aarch64] Updated debug architecture version checks for fbsd
2023-04-25 18:18 ` John Baldwin
@ 2023-04-26 6:01 ` Luis Machado
0 siblings, 0 replies; 3+ messages in thread
From: Luis Machado @ 2023-04-26 6:01 UTC (permalink / raw)
To: John Baldwin, gdb-patches
On 4/25/23 19:18, John Baldwin wrote:
> On 4/25/23 7:24 AM, Luis Machado wrote:
>> There are two new debug architecture version entries. I updated the
>> code for Linux, but fbsd also needs updating.
>>
>> This patch does this, and should be pretty straightforward.
>>
>> I can't test this on native fbsd, but I'm fairly confident it should
>> work.
>>
>> Signed-off-by: Luis Machado <luis.machado@arm.com>
>
> LGTM, thanks!
>
Thanks. Pushed now.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-26 6:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-25 14:24 [PATCH] [gdb/aarch64] Updated debug architecture version checks for fbsd Luis Machado
2023-04-25 18:18 ` John Baldwin
2023-04-26 6:01 ` Luis Machado
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).