This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Insight / ARM-Thumb question



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]