From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26636 invoked by alias); 12 Apr 2004 21:52:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26580 invoked from network); 12 Apr 2004 21:52:18 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 12 Apr 2004 21:52:18 -0000 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 0C7C64415AB for ; Mon, 12 Apr 2004 23:49:25 +0200 (CEST) To: gdb@sources.redhat.com Subject: DWARF location expressions considered harmful From: Andreas Schwab X-Yow: CHUBBY CHECKER owns my BUILDING! Date: Mon, 12 Apr 2004 22:07:00 -0000 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-04/txt/msg00069.txt.bz2 The introduction of DWARF location expressions has made debugging of optimized code very difficult. Whenever a value is considered unavailable by GDB the current operation is aborted immediately. This makes commands like "info locals", "info args" or "info frame" pretty useless, because there is no way to "skip" over those unavailable values to see the rest of the information. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."