From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21010 invoked by alias); 24 Mar 2006 10:09:56 -0000 Received: (qmail 21001 invoked by uid 22791); 24 Mar 2006 10:09:55 -0000 X-Spam-Check-By: sourceware.org Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.226) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Mar 2006 10:09:53 +0000 Received: by wproxy.gmail.com with SMTP id i21so705661wra for ; Fri, 24 Mar 2006 02:09:51 -0800 (PST) Received: by 10.65.176.8 with SMTP id d8mr528334qbp; Fri, 24 Mar 2006 02:09:50 -0800 (PST) Received: from samsung ( [212.84.108.71]) by mx.gmail.com with ESMTP id a5sm665602qbd.2006.03.24.02.09.49; Fri, 24 Mar 2006 02:09:50 -0800 (PST) To: insight@sources.redhat.com Subject: Insight / ARM-Thumb question Date: Fri, 24 Mar 2006 10:09:00 -0000 From: "Dave Bryan" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/8.52 (Win32, build 7721) Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00105.txt.bz2 Hi, I'm running Insight 6.4 for Arm-elf on Windows XP using Cygwin. The target is a Philips ARM LPC2214 run via a remote GDB server. I'm able to download, step & run programs compiled for ARM on the target. When I compile one or more files for Thumb (mixed ARM & Thumb code) I'm still able to download & run programs. However, whenever I try to step into a function compiled for Thumb (from ARM code) I don't actually step through each line in that function, instead it is as though I've selected step-over rather than step-into the function. I've tried two different types of remote GDB server (same target) & both do the same thing so I don't think there's an issue there. I've set infrun to 1 in the GDB console window & included the output resulting from stepping 'into' a Thumb function below: infrun: proceed (addr=0xffffffff, signal=144, step=1) infrun: resume (step=1, signal=0) infrun: wait_for_inferior infrun: infwait_normal_state infrun: TARGET_WAITKIND_STOPPED infrun: stop_pc = 0x81004d2c infrun: stepped into subroutine infrun: resume (step=0, signal=0) infrun: prepare_to_wait infrun: infwait_normal_state infrun: TARGET_WAITKIND_STOPPED infrun: stop_pc = 0x81001c2c infrun: BPSTATE_WHAT_STEP_RESUME infrun: stepped to a different line infrun: stop_stepping (gdb) Is being unable to step into a Thumb function a known bug in the Arm-Elf version of Insight/GDB ? Thanks Dave Bryan