Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: reverser on April 27, 2022, 10:56:25 am

Title: how to switch between AT&T and intel foramts in disassmbly window?
Post by: reverser on April 27, 2022, 10:56:25 am
hi all

is there a way to switch between AT&T and Intel formats of asm while debugging?
Title: Re: how to switch between AT&T and intel foramts in disassmbly window?
Post by: BlueHazzard on April 27, 2022, 02:00:08 pm
At the moment there is no button to do it automatically. I have created a ticket, and will try to implement it, this should be quite straight forward https://sourceforge.net/p/codeblocks/tickets/1261/

But you can set it before debugging in Settings->Debugger->GDB/CDB->Default->Choose disassembly flavor

While debugging you can do it manually by:
1) closing the disassembly window
2) Selecting the "Debugger" tab in the bottom "Logs & others" window pane
3) Type
Code
set disassembly-flavor att
for AT&T or
Code
set disassembly-flavor intel
for intel in the "command" field and hit enter
4) Reopen the disassembly window




Title: Re: how to switch between AT&T and intel foramts in disassmbly window?
Post by: reverser on April 30, 2022, 05:58:31 am
thamks. ;D