From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15800 invoked by alias); 15 Aug 2012 19:32:20 -0000 Received: (qmail 15751 invoked by uid 22791); 15 Aug 2012 19:32:19 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-iy0-f201.google.com (HELO mail-iy0-f201.google.com) (209.85.210.201) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Aug 2012 19:32:06 +0000 Received: by iadx2 with SMTP id x2so145757iad.0 for ; Wed, 15 Aug 2012 12:32:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:content-type:content-transfer-encoding:message-id:date :to:cc:subject:in-reply-to:references:x-mailer:from :x-gm-message-state; bh=FAJmMQvsar9xUo2jNufd3MZFqOn4Ys+QUvBI6Jafy1I=; b=Wmc2q1zzbx7qttOQnibM/nB7d1/UEMLeIeQjRVULdXpdsKo86cntCT4rAJ37loIzft 2odGBuh+KptUc5O5t8HjTBLuaEC5ESDXfRYHla8v+Y+Z/5hGd+gVgthQvFykmAr6TAGw ho4Ra8rU98pDWqeM7UA9Wm6pAR7K8nXcgK9nMDLEJ12B387mR7TBllU74ks0WcxybGiT N1YOFPaHBiv60Bhg6dnDxeVkcNl9iZynt5WhPOdlLmoJL8c2ddvfSa3VXJ5E0UqWriWR eNV9kv+vuTS2IM1Ih2tWq+xuXpUT8BqFtU5EonTBmK451qo3UB7/5w2hlKqVRd4A4iXR Whrw== Received: by 10.42.52.132 with SMTP id j4mr6690712icg.1.1345059125536; Wed, 15 Aug 2012 12:32:05 -0700 (PDT) Received: by 10.42.52.132 with SMTP id j4mr6690709icg.1.1345059125488; Wed, 15 Aug 2012 12:32:05 -0700 (PDT) Received: from wpzn4.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id mb9si3698239igc.1.2012.08.15.12.32.05 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 15 Aug 2012 12:32:05 -0700 (PDT) Received: from ruffy2.mtv.corp.google.com (ruffy2.mtv.corp.google.com [172.18.110.129]) by wpzn4.hot.corp.google.com (Postfix) with ESMTP id B14D71E0043; Wed, 15 Aug 2012 12:32:04 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20523.63796.99531.936395@ruffy2.mtv.corp.google.com> Date: Wed, 15 Aug 2012 19:32:00 -0000 To: "Terekhov, Mikhail" Cc: "gdb@sourceware.org" Subject: RE: .gdbini file In-Reply-To: <393A4D071DD24B45A370BEBB86AD05A2215CE984FF@MX37A.corp.emc.com> References: <83vcgpddpa.fsf@gnu.org> <393A4D071DD24B45A370BEBB86AD05A2215CE984FF@MX37A.corp.emc.com> From: dje@google.com X-Gm-Message-State: ALoCoQm1x5b/rYa/gwuHqnU37Wze/mNwy7Yz2YLIxQ4XWfbCLlN5rZNLmsmbSkBo989hRWw8wH0iII+SMn6ODNxr0szo/ASeat9DthzTwKnwwfh4RO9HguboKpLi3H4GGh+YvPc6ZZM+K5FSFbcr/6T2EfuUJujTEfph9RKJFk7u3yukMYsatwJmSMNEdDUUOyFFRe7moCz4 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00061.txt.bz2 Terekhov, Mikhail writes: > > -----Original Message----- > > From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On > > Behalf Of Doug Evans > > Sent: Wednesday, August 15, 2012 1:35 PM > ... > > > > Remember that .gdbinit is gone, in favor of gdb-gdb.gdb [there's a > > reason it's spelled that way :-)] > > And the reason is? gdb-gdb.gdb ^ ^ ^ ^ ^ ^---- It's a gdb script. ^ ^ If it were Python this would be .py. ^ ^ ^ ^-------- "-gdb" is a gdb convention, it's the suffix added to a file ^ for auxiliary support. ^ E.g., gdb will auto-load libstdc++.so-gdb.py (version elided) ^ which contains the std c++ pretty-printers. ^ ^------------ This init script is for the program named "gdb". If this were for readelf the script would be named readelf-gdb.gdb. Kind of a funny name, but there is a convention behind it. :-)