Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* target-dependent .gdbinit
@ 2002-12-28 10:59 Felix Lee
  2003-01-02 15:08 ` Andrew Cagney
  0 siblings, 1 reply; 6+ messages in thread
From: Felix Lee @ 2002-12-28 10:59 UTC (permalink / raw)
  To: gdb

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.
--


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-02 20:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-28 10:59 target-dependent .gdbinit Felix Lee
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox