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]

Re: Insight / ARM-Thumb question


Dave Bryan wrote:

[...] 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 have to ask: are you sure there is debug info for the function into which you are stepping? Open a console and type "info func THUMB_FUNCTION". [Or use the function browser from the Window menu.]


This behavior is expected with GDB when the user attempts to step into a function for which there is no debug info. GDB steps over it.

Is being unable to step into a Thumb function a known bug in the Arm-Elf version of Insight/GDB ?

I haven't read anything about it. Your best bet is to use command line gdb to reproduce the problem, saving the output of the entire session to a file. Then send this transcript to the folks on the gdb mailing list. They'll be able to help you much more than I can.


BTW, have you tried a recent snapshot? That might prove useful. [I'm sure this will be the first thing GDB people ask! :-)]

Keith


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