Re: Adding Python files to be autoloaded for a particular architecture
Reuben Thomas via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAOnWdog7yQqT3bR4BF2dQOOnJ=vhaMEz5u3mzRaJAbcPgVrdcQ@mail.gmail.com> |
On Fri, 17 Jul 2020 at 23:14, Joel Brobecker <[email protected]> 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