This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GDB 5.0.92 available


>  Linux kernel 2.4.13, glibc 2.2.3, latest gdb used either alone or
> through any other inteface. The behaviour is the same.
> 
> I place .gdbinit in a directory with executable, do:
> 
> gdb --cd=[directory where executable is located] executable
> 
> and none of the init commands in .gdbinit is executed. Example of one
> of my .gdbinits:

Does this work?

	( cd [directory where executable is located] ; gdb executable )

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]