Re: [BPF] Maintenance status and breakpoint/register questions

Qi Su via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 8/3/25 03:39, Sam James wrote:
> Qi Su via Gdb <[email protected]> writes:
>
>> Hi Jose and gdb folks,
>>
>> Hope you're doing well. I've been digging into GDB's BPF target and wanted
>> to check a few things before I start cleaning up patches.
>>
>> 1. Maintenance status
>> The last commits touching `gdb/bpf` seem over a year old, and I haven’t
>> seen much recent activity. Is the port still actively maintained? Also, is
>> there any internal code at Oracle—docs, test cases, examples—that could be
>> upstreamed or shared?
> Ports in gdb don't tend to require particularly high levels of
> commits. I'm not saying there isn't stuff to be done, but I don't think
> the activity level is alarming (at least to me).
>
> The only BPF specific file in gdb is gdb/bpf-tdep.c and that's not so
> big by design. Is there something more specific you're concerned about?


I understand low frequency is fine for ports in gdb. bpf-gdb had very 
little discussion. There's only one bug report #28565 in sourceware 
bugzilla in 2021 and it shows bpf-gdb's simulator was not functional 
(step/run/continue crashes). It's the most basic functionality and had 
not been fixed for a long time and that's why I was asking.

> [...]
Qi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.