[pushed] gdb: remove unused include in infrun.c
Simon Marchi
simon.marchi@polymtl.ca
Tue Apr 23 15:32:43 GMT 2024
On 2024-04-23 11:25, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:
>
> Simon> Remove the gdbcmd.h, which is reported as unused by clangd. Add
> Simon> cli/cli-cmds.h instead, to get access to `cmdlist` and friends.
>
> FWIW gdbcmd.h probably shouldn't exist at all.
Yeah it's clearly a remnant from the past. I tried to get rid of it in
the past, but so many files include it. Perhaps I can just make a
find-and-replace and make these files include cli/cli-cmds.h instead,
that's what most of them need (to access `showlist`, `setlist`, etc).
Simon
More information about the Gdb-patches
mailing list