From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28117 invoked by alias); 8 Nov 2003 01:28:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28110 invoked from network); 8 Nov 2003 01:28:51 -0000 Received: from unknown (HELO concert.shout.net) (204.253.184.25) by sources.redhat.com with SMTP; 8 Nov 2003 01:28:51 -0000 Received: from duracef.shout.net (duracef.shout.net [204.253.184.12]) by concert.shout.net (8.12.10/8.12.10) with ESMTP id hA81Soud003578; Fri, 7 Nov 2003 19:28:50 -0600 Received: from duracef.shout.net (localhost [127.0.0.1]) by duracef.shout.net (8.12.10/8.12.9) with ESMTP id hA81Sofa029188; Fri, 7 Nov 2003 19:28:50 -0600 Received: (from mec@localhost) by duracef.shout.net (8.12.10/8.12.9/Submit) id hA81SnLk029187; Fri, 7 Nov 2003 20:28:49 -0500 Date: Sat, 08 Nov 2003 01:28:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200311080128.hA81SnLk029187@duracef.shout.net> To: ezannoni@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFC/WIP] unit test for separate debug info X-SW-Source: 2003-11/txt/msg00151.txt.bz2 I gave it some proof-reading but did not try running it yet. The idea looks okay to me. For documentation, it would help to just have a list of files at the top: gdb.base/break original executable gdb.base/break.stripped stripped executable gdb.base/break.sym debug symbols gdb.base/break.debuglink output of --add-gnu-debuglink (Hmmm, my list of files does not have any .debug directory!) Human beings are good at reading examples and extrapolating from them, and not as good at handling explicit meta-variables. I would really like break.debuglink to be a separate file from the original file. If somebody is debugging this process, it's much better to have each file be unique. In gdb_gnu_strip_debug, what are the final values of "strip_to_file_program" and "objcopy_program" going to be? I am hoping that they will just be set strip_to_file_program strip set objcopy_program objcopy Well, actually that works only for natives, crosses need more work. I would say, leave the elfutils case out for now. Michael C