Bug 7343 - .gdbinit not read when in directory of the executable
Summary: .gdbinit not read when in directory of the executable
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: cli (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-01 09:18 UTC by sinisa
Modified: 2010-04-08 23:31 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.