GNU style checker for GDB

Dave Marples dave@marples.net
Mon Mar 8 23:21:49 GMT 2021


On 08/03/2021 22:39, David Blaikie via Gdb wrote:
>
> I think if you can point to a widely used style (the gdb (& binutils more
> generally?) codebase) there's probably going to be a fair bit of
> sympathy/understanding there.

It seems to me that this is a problem screaming out for Machine 
Learning. I see so many projects that don't have a formal style guide 
but have a "please format your code like the rest of the code is already 
formatted 'cos we like that" policy. Nothing wrong with that policy at 
all, except that it's obviously incredibly difficult to automate.

It would make a really nice final year undergrad project for someone to 
train up an AI on the style of an existing codebase, then use the 
developed knowledge to edit new code into that same format.

...anyone got any suitably smart final year students that would bite on 
a project like that? I can think of plenty of projects that could make 
use of it!

DAVE



More information about the Gdb mailing list