From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31903 invoked by alias); 9 Jun 2004 18:42:13 -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 31883 invoked from network); 9 Jun 2004 18:42:12 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 9 Jun 2004 18:42:12 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BY81c-00014f-DZ for ; Wed, 09 Jun 2004 14:42:12 -0400 Date: Wed, 09 Jun 2004 18:42:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: -file-list-exec-source-files Message-ID: <20040609184212.GA4007@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <16519.59247.93650.941260@localhost.redhat.com> <20040426130529.GA11975@white> <20040506221258.GA7008@white> <20040522015250.GA26435@white> <16572.43047.435129.31640@localhost.redhat.com> <20040601180111.GA2685@white> <16574.9940.867059.792145@localhost.redhat.com> <20040603023521.GA4096@white> <20040609181811.GE11598@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040609181811.GE11598@white> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00185.txt.bz2 On Wed, Jun 09, 2004 at 02:18:11PM -0400, Bob Rossi wrote: > Ok, I had to make one small change to dwarf2read.c, it was > pst->dirname = xstrdup (comp_unit_die.dirname); > it now is > if (comp_unit_die.dirname) > pst->dirname = xstrdup (comp_unit_die.dirname); > > This fixed a crash in the testsuite. This sounds OK. > Also, I changed both mi-file.exp and mi2-file.exp from > global srcfile > global srcdir > global subdir > set srcfilepath [string_to_regexp ${srcdir}/${subdir}/${srcfile}] > > "111\\\^done,line=\"23\",file=\"${srcfilepath}\",fullname=... > > to > "111\\\^done,line=\"23\",file=\".*/${srcfile}\",fullname=... > > This had nothing to do with this patch. The testcase was failing with a > clean checkout and run of the testsuite. This is not. The reason it's failing for you is probably that you configured in the source directory or using a relative path, right? Is it still needed if you configure using an absolute path (mkdir objdir; cd objdir; /path/to/configure && make && make check) ? -- Daniel Jacobowitz