From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8661 invoked by alias); 14 Jan 2004 02:47:07 -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 8637 invoked from network); 14 Jan 2004 02:47:07 -0000 Received: from unknown (HELO granger.mail.mindspring.net) (207.69.200.148) by sources.redhat.com with SMTP; 14 Jan 2004 02:47:07 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by granger.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1Agb3F-0005Ku-00; Tue, 13 Jan 2004 21:46:37 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 2FD964B104; Tue, 13 Jan 2004 21:46:56 -0500 (EST) To: ezannoni@redhat.com Subject: Re: [RFA] new test for separate debug info Cc: drow@mvista.com, gdb-patches@sources.redhat.com Message-Id: <20040114024656.2FD964B104@berman.michael-chastain.com> Date: Wed, 14 Jan 2004 02:47:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-01/txt/msg00359.txt.bz2 > My idea was more to incrementally add broken cases to the skip list as > we find them. It's not my favorite, but it's okay with me. +} elseif { [test_debug_format "unknown"] } then { + # gdb doesn't know what the debug format is. We are out of luck here. + unsupported "unknown debugging format" + return -1 I tested this. It works for me: ... Compiled with unknown debugging format. Does not include preprocessor macro info. (gdb) UNSUPPORTED: gdb.base/sepdebug.exp: unknown debugging format testcase /house/chastain/gdb/s1/gdb/testsuite/gdb.base/sepdebug.exp completed in 1 seconds if [gdb_gnu_strip_debug $binfile] { - unsupported "no separate debug info handling" + unsupported "cannot produce separate debug info files (check that you have a recent version of strip and objcopy installed)" return -1 } I would rather that the message be shorter so that it does not blow up my tables if it appears in a table. How about: if [gdb_gnu_strip_debug $binfile] { # check that you have a recent version of strip and objcopy unsupported "cannot produce separate debug info files" } Michael C