From: Corinna Vinschen <vinschen@redhat.com>
To: gdb <gdb@sources.redhat.com>
Subject: Re: gdb.ini vs. .gdbinit on Cygwin
Date: Thu, 01 Nov 2001 15:47:00 -0000 [thread overview]
Message-ID: <20011113180434.Y2618@cygbert.vinschen.de> (raw)
In-Reply-To: <3BF14E50.7E55FC0C@redhat.com>; from fnasser@redhat.com on Tue, Nov 13, 2001 at 11:46:08AM -0500
On Tue, Nov 13, 2001 at 11:46:08AM -0500, Fernando Nasser wrote:
> Eli Zaretskii wrote:
> >
> > On Sun, 11 Nov 2001, Corinna Vinschen wrote:
> >
> > > is there still a reason why the .gdbinit file is called gdb.ini
> > > on Cygwin?
> >
> > You might consider the fact that the Windows Explorer still disallows
> > creation of files with a leading dot.
> >
> > I don't know if this is important for Cygwin users, though.
> >
> > Also, if you remove gdb.ini, I'd suggest to have a transitional period
> > where gdb.ini is still supported. Otherwise, users might get mad at
> > you for breaking their setup.
> >
> > In any case, please change the docs accordingly (type "i gdb.ini RET"
> > in an Info reader, to find where it is mentioned).
>
>
> I agree with Eli.
>
> My first thought was: look for ".gdbinit", if not found
> look for "gdb.ini" after issuing a warning that "gdb.ini" should be
> renamed to ".gdbinit" and that "gdb.ini" will not be supported in future
> versions.
>
> But then I remembered that we may have native Windows GDB (i.e., not
> Cygwin,
> but Win32 GDB programs). Can those also look for ".gdbinit"?
We're talking about the Cygwin version. A native DOS/Windows version
can keep gdb.ini. It doesn't matter.
> And the Windows Explorer issue, has it gone on the XP version?
Of course not. However, we should use .gdbinit the same way as for
any other host on Cygwin. There's no reason to treat the Cygwin GDB
special in that case. If you think it's really necessary, we can
keep supporting gdb.ini as well but a Cygwin GDB doesn't have to
take care for Explorer disabilities, IMO. As a resort we could
begin to support an environment variable GDBINIT or similar which
contains the name/path of the GDB init file. That would have the
advantage to be mostly host independent.
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com
next prev parent reply other threads:[~2001-11-13 17:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-01 8:47 Corinna Vinschen
2001-11-01 8:59 ` gdb.ini vs. .gdbinit on cygwin Christopher Faylor
2001-11-01 9:08 ` Corinna Vinschen
2001-11-01 11:21 ` gdb.ini vs. .gdbinit on Cygwin Eli Zaretskii
2001-11-01 15:35 ` Fernando Nasser
2001-11-01 15:47 ` Corinna Vinschen [this message]
2001-11-01 16:14 ` Eli Zaretskii
2001-11-02 1:14 ` Corinna Vinschen
2001-11-01 16:50 ` Fernando Nasser
2001-11-02 1:33 ` Eli Zaretskii
2001-11-01 15:55 ` Eli Zaretskii
2001-11-02 10:45 ` gdb.ini vs. .gdbinit on cygwin Christopher Faylor
2001-11-02 11:01 ` Stan Shebs
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=20011113180434.Y2618@cygbert.vinschen.de \
--to=vinschen@redhat.com \
--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