Disassemble code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disassemble code

1,016 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by blasiis on Tue May 18 02:26:08 MST 2010
In debug mode i can read only a little part of code near the break
[FONT=&quot]In the Window -> Preferences -> C/C++ -> Debug[/FONT]>Maximum number of diplay instruction (can use more than 100?)
How can I read the complete disassemble code ?

More over in the edit mode if i try to use teh Utility -> Disassemle I have the following error:
Command"arm-none-eabi-objdump -x -d "C:\....." Failed with result 1

Thanks
0 Kudos
Reply
4 Replies

975 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by blasiis on Tue May 18 06:31:22 MST 2010

Quote: CodeRedSupport
The "normal" disassembly view basically lists from "the current location" to the end of the function.

If this doesn't provide you with the information that you want, then I suggest that you try using the Quick Disassembly view

Window -> Show view -> Other -> Debug -> Quick Disassembly view

Then enter [I]function_name[/I] for the address, and the number of bytes you want to actually disassemble.

Regards,
CodeRedSupport



[COLOR=#000000]Quick disasemmble I  had not tried!
[/COLOR]I would say perfect for how the  processor performs
0 Kudos
Reply

975 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue May 18 06:02:06 MST 2010

Quote: blasiis
My question is: In debug mode with break stopped when use i-> for display asm code, how can see many lines prior to break position ?


The "normal" disassembly view basically lists from "the current location" to the end of the function.

If this doesn't provide you with the information that you want, then I suggest that you try using the Quick Disassembly view

Window -> Show view -> Other -> Debug -> Quick Disassembly view

Then enter [I]function_name[/I] for the address, and the number of bytes you want to actually disassemble.

Regards,
CodeRedSupport
0 Kudos
Reply

975 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by blasiis on Tue May 18 05:22:35 MST 2010

Quote: CodeRedSupport
http://lpcxpresso.code-red-tech.com/LPCXpresso/node/29t


My question is: In debug mode with break stopped when use i-> for display asm code, how can see many lines prior to break position ?


Quote: CodeRedSupport
I suspect that you are trying to disassemble a non-elf file. Try using this option with an object file (*.o) or with the linked executable file (*.axf) .

Regards,
CodeRedSupport


OK, I tried to disassembly a .c file.
0 Kudos
Reply

975 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue May 18 04:53:20 MST 2010

Quote: blasiis
In debug mode i can read only a little part of code near the break
[FONT=&quot]In the Window -> Preferences -> C/C++ -> Debug[/FONT]>Maximum number of diplay instruction (can use more than 100?)
How can I read the complete disassemble code ?



http://lpcxpresso.code-red-tech.com/LPCXpresso/node/29


Quote:

More over in the edit mode if i try to use teh Utility -> Disassemle I have the following error:
Command"arm-none-eabi-objdump -x -d "C:\....." Failed with result 1

I suspect that you are trying to disassemble a non-elf file. Try using this option with an object file (*.o) or with the linked executable file (*.axf) .

Regards,
CodeRedSupport
0 Kudos
Reply