From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20589 invoked by alias); 8 Mar 2002 14:22:22 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 20507 invoked from network); 8 Mar 2002 14:22:16 -0000 Received: from unknown (HELO wonka.esatclear.ie) (194.145.128.5) by sources.redhat.com with SMTP; 8 Mar 2002 14:22:16 -0000 Received: from esatclear.ie (IDENT:httpd@gratin.esatclear.ie [194.145.128.35]) by wonka.esatclear.ie (8.9.3/8.9.3) with SMTP id OAA13226; Fri, 8 Mar 2002 14:22:14 GMT From: "David Mc Kenna" Reply-to: mckennad@esatclear.ie To: insight@sources.redhat.com, gcc@sources.redhat.com Date: Fri, 08 Mar 2002 06:22:00 -0000 Subject: Code display question ( RE GCC - save-temps ) X-Mailer: CWMail Web to Mail Gateway 2.8a, http://netwinsite.com/top_mail.htm Message-id: <3c88c8ec.650c.0@esatclear.ie> X-User-Info: 137.71.23.54 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q1/txt/msg00202.txt.bz2 Hi all, Just a quick question with relation to both GCC and GDB. When I compile a program without specifying -save-temps with GCC I can view the code in 4 formats under Insight,i.e. Source,Assembly, Mixed and SRC + ASM. But when I use the -save-temps switch with GCC I am unable to view the source code as mixed, it appears identical to assembly. The test program I am using is a simple "hello world" program. GCC is v3.0.4 under cygwin. Insight/GDB is v5.1.1 under cygwin. Any help is appreciated, Dave McKenna -- http://www.iol.ie