From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58661 invoked by alias); 22 Jun 2017 19:18:06 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 58635 invoked by uid 89); 22 Jun 2017 19:18:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Jun 2017 19:18:03 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dO7c8-0007E2-Ja for gdb-patches@sourceware.org; Thu, 22 Jun 2017 15:18:01 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dO7c3-00074l-2R; Thu, 22 Jun 2017 15:17:55 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4114 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dO7c1-0006Rm-I2; Thu, 22 Jun 2017 15:17:54 -0400 Date: Thu, 22 Jun 2017 19:18:00 -0000 Message-Id: <83h8z7vnl6.fsf@gnu.org> From: Eli Zaretskii To: Jan Kratochvil CC: gdb-patches@sourceware.org, vleschuk@accesssoftek.com In-reply-to: <20170622183542.GA8552@host1.jankratochvil.net> (message from Jan Kratochvil on Thu, 22 Jun 2017 20:35:42 +0200) Subject: Re: [PATCH v3.1 2/5] DWARF-5: .debug_names index producer Reply-to: Eli Zaretskii References: <149790572259.20186.14601775821404892582.stgit@host1.jankratochvil.net> <149790574432.20186.16599093068806909362.stgit@host1.jankratochvil.net> <83d19ywuuw.fsf@gnu.org> <20170622183542.GA8552@host1.jankratochvil.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00661.txt.bz2 > Date: Thu, 22 Jun 2017 20:35:42 +0200 > From: Jan Kratochvil > Cc: gdb-patches@sourceware.org, vleschuk@accesssoftek.com > > -@item save gdb-index @var{directory} > +@item save gdb-index [-dwarf-4] @var{directory} > @kindex save gdb-index > Create an index file for each symbol file currently known by > @value{GDBN}. Each file is named after its corresponding symbol file, > -with @samp{.gdb-index} appended, and is written into the given > -@var{directory}. > +with @file{.debug_names} and @file{.debug_str} (or @file{.gdb-index} > +from @code{-dwarf-4} option for older index consumers) appended, and is written > +into the given @var{directory}. > @end table Given your explanations, I suggest to reword this: Create index files for all symbol files currently known by @value{GDBN}. For each known @var{symbol-file}, this command by default creates 2 files: @file{@var{symbol-file}.debug_names} and @file{@var{symbol-file}.debug_str}. If you invoke this command with the @option{-dwarf-4} option, it produces a single file @file{@var{symbol-file}.gdb-index}. The files are created in the given @var{directory}. Otherwise, the documentation parts are fine, thanks.