From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Add system-gdbinit infrastructure
Date: Tue, 18 Dec 2012 16:48:00 -0000 [thread overview]
Message-ID: <20121218164741.GB23234@host2.jankratochvil.net> (raw)
In-Reply-To: <1355846036-7645-1-git-send-email-brobecker@adacore.com>
Hi Joel,
--with-system-gdbinit is used to enable something like for example Fedora uses
/etc/gdbinit. But this provides only a single init file which is a problem
for various optionally installed packages each needing to install its own
system-wide gdb init file (such as older versions of the gdb-heap package).
Unfortunately GDB does not support wildcards for the "source" command for:
/etc/gdbinit:
source /etc/gdbinit.d/*
which is why only a single file is possible that way.
But I do not see this problem solved in your patch, how do you execute those
files?
Besides that I find such files more as configuration files where read-only
$(GDB_DATADIR) is not a suitable location.
But maybe we both talk about two unrelated features.
Regards,
Jan
next prev parent reply other threads:[~2012-12-18 16:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-18 15:54 Joel Brobecker
2012-12-18 16:48 ` Jan Kratochvil [this message]
2012-12-18 16:57 ` Joel Brobecker
2012-12-18 17:39 ` Jan Kratochvil
2012-12-18 18:06 ` Joel Brobecker
2012-12-18 18:17 ` Jan Kratochvil
2013-05-10 12:35 ` Joel Brobecker
2013-05-21 6:55 ` Checked in: " Joel Brobecker
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=20121218164741.GB23234@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@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