Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Why is .gdbinit specified explicitly?

A desire to support different init files in different configurations doesn't seem to be relevant to the choice of the default gdb command line.


On Mon, May 20, 2013 at 1:15 PM, Eugene Ostroukhov <eostroukhov@xxxxxxxxx> wrote:
I assume it's for scenarios like having different init files in different debug configurations.


On Mon, May 20, 2013 at 12:14 PM, Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx> wrote:
This only makes it more mysterious. Why pass .gdbinit after --nx on the command line? What purpose does it achieve?

-sergey


On Mon, May 20, 2013 at 12:02 PM, Eugene Ostroukhov <eostroukhov@xxxxxxxxx> wrote:
There's this comment in GDBBackend:197 (my line number might be slightly off), don't know if you've seen it:

// Don't read the gdbinit file here.  It is read explicitly in

// the LaunchSequence to make it easier to customize.

gdbCommandLine.append(" --nx"); //$NON-NLS-1$



On Mon, May 20, 2013 at 11:20 AM, Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx> wrote:
Does anybody know why DSF GDB default for GDB command line is ".gdbint"? Doesn't GDB load .gdbinit anyway, even when it is not specified on the command line?

-sergey 

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top