PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Debugging ARM assembler question...

Hi'z

I've been creating some ARM assembler funcs but i don't seem to be able to debug the assembler.

I've got my compile setup with a -g which should be debug info but i still can't step into it from a 'c' function.

The code works fine, just no stepping into it.

Any ideas anyone ?

Cheers
I don't know, did you try using F11 instead of F10? It works for me here, I am using eVc 4. Try using Alt-8 too to show the ASM code.

Regards,
Kornalius
Hi

Thanks for the reply, i've tried stepping through and all that and have also tried viewing assembler code but still doesn't work.

I managed to get it to break inside the assembler code by making it crash but thats it :)

Is their anything which needs changing in the project for this maybe ?
Are you using armasm !? what settings do you use on compile ?

Thanks
Hi'z

I've spent all night trying to figure this one out and was able to get to the function to debug it in assembler, but this took tracking down the function in memory and then putting a break point on it. not exactly what i had in mind everytime :?

Although i think its all because when the assembly code is compiled it only creates a .obj and doesn't try adding anything to the .pdb file so it doesn't have any reference to the assembly source file at all.

i've looked through the above assembler programming ppc faq, and i've got everything in there which should be in their for compiling but i don't see any connection with producing anything for the debug output.

Can anyone please look at how they have their assembly setup and check if it adds information to the .pdb file for debugging, or any helpful information.

Thanks!