Adding Python files to be autoloaded for a particular architecture

Reuben Thomas rrt@sc3d.org
Fri Jul 17 22:18:55 GMT 2020


On Fri, 17 Jul 2020 at 23:14, Joel Brobecker <brobecker@adacore.com> wrote:

> > > You can try with --with-system-gdbinit=xxx instead.
> > >
> >
> > Thanks, but surely --with-system-gdbinit is designed for the system
> > administrator? For example, on Debian, the supplied gdb is configured
> with
> > --with-system-gdbinit=/etc/gdb/gdbinit. I don't want to conflict with
> this
> > usage.
>
> I don't think you can categorize the intended user of each option.
> They just do different things.
>

What I mean is that I cannot use --with-system-gdbinit for a solution that
I would eventually like to merge into gdb.

Thinking out loud (I do not know all the details off the top of my head),
> I see a couple of ways:
>   - You use a subdirectory of system-gdbinit, and then configure GDB
>     to use that subdirectory
>   - You create one file that the sources all the other files you need,
>     and then configure GDB to use that file as the system-gdbinit.
>

Again, both of these suggestions involve configuring GDB, so I don't see
how they can be suitable for code that can be merged into GDB.

Sorry if I'm failing to understand something here!

-- 
https://rrt.sc3d.org


More information about the Gdb mailing list