Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Felix Lee <felix.1@canids.net>
To: gdb@sources.redhat.com
Subject: target-dependent .gdbinit
Date: Sat, 28 Dec 2002 10:59:00 -0000	[thread overview]
Message-ID: <200212281858.gBSIwJJ07676@paper-wolf-solo.tigerfood.org> (raw)

So I'm thinking I want gdb to read ~/.gdbinit-$target after
~/.gdbinit.  Does that seem like a sensible thing to do?

I'm wary of making target a special case.  My feeling is I'd
want a single .gdbinit file that has some form of #if for
target or host or gdb version or other conditions.  But I'm
not sure that's all that useful.  The added complexity
doesn't seem to be worth it.

But target is already a special case sometimes, because
there's .vxgdbinit and such.

Also, behavior like this could be easily synthesized with a
front-end script that ran gdb with the right -x options.
The rationale for putting it into gdb: it's standardization.
--


             reply	other threads:[~2002-12-28 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-28 10:59 Felix Lee [this message]
2003-01-02 15:08 ` Andrew Cagney
2003-01-02 18:53   ` Felix Lee
2003-01-02 19:13     ` Andrew Cagney
2003-01-02 20:04       ` Felix Lee
2003-01-02 20:17         ` Daniel Jacobowitz

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=200212281858.gBSIwJJ07676@paper-wolf-solo.tigerfood.org \
    --to=felix.1@canids.net \
    --cc=gdb@sources.redhat.com \
    /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