Bug 7343

Summary: .gdbinit not read when in directory of the executable
Product: gdb Reporter: sinisa
Component: cliAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: ac131313, gdb-prs
Priority: P3    
Version: unknown   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description sinisa 2001-11-01 17:18:01 UTC
[Converted from Gnats 238]

.gdbinit placed in directory where executable is located, is not read, not even if --cd=.... option is provided.

Release:
any gdb 5.* snapshot

Environment:
Linux i386 kernel 2.4.13, glibc 2.2.3, gcc 3.0.2
Comment 1 ac131313 2001-11-01 18:26:19 UTC
From: Andrew Cagney <ac131313@cygnus.com>
To: sinisa@mysql.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/238: .gdbinit not read when in directory of the executable
Date: Thu, 01 Nov 2001 13:26:19 -0500

 Thanks,
 
 I suspect that the startup sequence (execute CD, source script) was 
 unintentionally changed.  See main.c and top.c
 
 Andrew
Comment 2 Sergio Durigan Junior 2010-04-08 23:31:56 UTC
This bug has already been fixed (probably a long time ago).  Closing it.