From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20307 invoked by alias); 3 Sep 2008 18:34:27 -0000 Received: (qmail 20289 invoked by uid 22791); 3 Sep 2008 18:34:26 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 03 Sep 2008 18:33:47 +0000 Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K6M00K63U9CAD00@i-mtaout7.012.net.il> for gdb@sourceware.org; Wed, 03 Sep 2008 21:34:26 +0300 (IDT) Date: Wed, 03 Sep 2008 18:34:00 -0000 From: Eli Zaretskii Subject: Re: how to examine data with compiler optimization option set? In-reply-to: X-012-Sender: halo1@inter.net.il To: fche@redhat.com (Frank Ch. Eigler) Cc: msnyder@vmware.com, brobecker@adacore.com, dewar@adacore.com, jreiver@free.fr, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <1220390777.48bdaf79617dd@imp.free.fr> <48BDB1B0.4040703@adacore.com> <1220391632.48bdb2d04bfd7@imp.free.fr> <48BDB4E2.9010301@adacore.com> <20080902215623.GA3779@adacore.com> <48BDD4B7.5060503@vmware.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00022.txt.bz2 > Cc: Joel Brobecker , Robert Dewar , "jreiver@free.fr" , "gdb@sourceware.org" > From: fche@redhat.com (Frank Ch. Eigler) > Date: Tue, 02 Sep 2008 23:04:24 -0400 > > You might be surprised. Some RH engineers are working along these > lines. Being able to debug (<=> probe/trace) optimized code is > becoming more and more important, and gcc is slowly getting into the > mood to help. I'll applaud this mood. When I started using GCC (it was v1.x back then), being able to efficiently debug optimized code was one of GCC's most attractive features. When that feature was lost in GCC 3.x, I was quite shocked. I'd love to have that back again.