From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10136 invoked by alias); 1 Dec 2009 09:15:55 -0000 Received: (qmail 10123 invoked by uid 22791); 1 Dec 2009 09:15:53 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from web112515.mail.gq1.yahoo.com (HELO web112515.mail.gq1.yahoo.com) (98.137.26.178) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 01 Dec 2009 09:15:49 +0000 Received: (qmail 35370 invoked by uid 60001); 1 Dec 2009 09:15:48 -0000 Message-ID: <33317.35316.qm@web112515.mail.gq1.yahoo.com> Received: from [124.125.223.76] by web112515.mail.gq1.yahoo.com via HTTP; Tue, 01 Dec 2009 01:15:47 PST Date: Tue, 01 Dec 2009 09:15:00 -0000 From: paawan oza Subject: 32 bit applcaition debugging with 64bit gdb on 64bit machine To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-12/txt/msg00002.txt.bz2 Hi, I have following questions, please try to clarify. I compile gdb on 64 bit machine, 1) 32 bit application compiled on 32 bit system and directly using them on 64 bit machine, and then we debug the 32 bit application using 64 bit gdb on 64 bit machine. 2) 32 bit applications compiled on 64 bit machine using -m32 flag, and then I try to compile 32 bit application using 64 bit gdb in 64 bit machine. 3) of course 64bit applications must be able to be debugged easily by 64 bit gdb on 64 bit machine. In 1 and 2, is there any case where gdb may not work or may have some issue ? I suppose 3 must not have any issue. Regards, Oza.