public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Reuben Thomas via Gdb <gdb@sourceware.org>
Subject: Re: Adding Python files to be autoloaded for a particular architecture
Date: Fri, 17 Jul 2020 23:03:28 +0100	[thread overview]
Message-ID: <CAOnWdoi6reVcrABGqqby5APB049oiD-2yZ0u-YTrTQttmukYUw@mail.gmail.com> (raw)
In-Reply-To: <20200717214210.GU5016@adacore.com>

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

> > This seems to be a suitable candidate for SYSTEM_GDBINIT_FILES. But if I
> > simply add a file to `SYSTEM_GDBINIT_FILES` in
> > `gdb/data-directory/Makefile.in`, and then configure with
> >
> > --with-system-gdbinit-dir=$pkgdatadir/system-gdbinit
>
> 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.

We can probably delete these two files, if no one else finds them useful
> anymore. But I don't think you really want to use GDB's system-gdbinit
> as a system-gdbinit-dir; generally speaking, my understand of the
> directory provided in the GDB sources is that it's a collection of
> files that are not necessarily meant to always be relevant.
>

Ah, OK, so I should instead configure with a different
--with-system-gdbinit-dir? But how can I get my files installed in that
directory? It seems like this is not something I can do with gdb's build
system.

So should I be using a different route to get an architecture support file
always installed and loaded?

-- 
https://rrt.sc3d.org

  reply	other threads:[~2020-07-17 22:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17 16:11 Reuben Thomas
2020-07-17 21:42 ` Joel Brobecker
2020-07-17 22:03   ` Reuben Thomas [this message]
2020-07-17 22:09     ` Christian Biesinger
2020-07-17 22:21       ` Reuben Thomas
2020-07-17 22:31         ` Christian Biesinger
2020-07-17 22:37           ` Reuben Thomas
2020-07-20 20:26             ` Christian Biesinger
2020-07-20 21:39               ` Reuben Thomas
2020-07-17 22:14     ` Joel Brobecker
2020-07-17 22:18       ` Reuben Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOnWdoi6reVcrABGqqby5APB049oiD-2yZ0u-YTrTQttmukYUw@mail.gmail.com \
    --to=rrt@sc3d.org \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).