From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22258 invoked by alias); 9 Nov 2006 15:27:28 -0000 Received: (qmail 22249 invoked by uid 22791); 9 Nov 2006 15:27:27 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.226) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Nov 2006 15:27:20 +0000 Received: by wr-out-0506.google.com with SMTP id i12so108384wra for ; Thu, 09 Nov 2006 07:27:18 -0800 (PST) Received: by 10.65.192.16 with SMTP id u16mr471450qbp.1163086037700; Thu, 09 Nov 2006 07:27:17 -0800 (PST) Received: by 10.65.15.12 with HTTP; Thu, 9 Nov 2006 07:27:17 -0800 (PST) Message-ID: Date: Thu, 09 Nov 2006 15:27:00 -0000 From: "Johan Thorb" To: gdb@sourceware.org Subject: GDB support for mixed ARM9 V5 and thumb code MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00044.txt.bz2 Hi all, I am trying to use gdb 6.5 for target arm and on host Win/MinGW. I have compiled such a version, and I do get undeterministic behavior when using the debugger. I try to debug an elf file, which is to be eabi compliant. It is not compiled with gcc, and has a gdb-stub built in. To rule out gdb problematics I have two questions: 1) Does GDB 6.5 support mixed ARM v5 and thumb instruction set binaries? 2) What is the right compilation config parameters in this case? I have tried the --target=arm-thumb-elf and --target=arm-gdb-elf Could anyone please help me out in this matter? Best regards /Johan