Author Topic: how to switch between AT&T and intel foramts in disassmbly window?  (Read 701 times)

Offline reverser

  • Multiple posting newcomer
  • *
  • Posts: 16
hi all

is there a way to switch between AT&T and Intel formats of asm while debugging?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3169
Re: how to switch between AT&T and intel foramts in disassmbly window?
« Reply #1 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





Offline reverser

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: how to switch between AT&T and intel foramts in disassmbly window?
« Reply #2 on: April 30, 2022, 05:58:31 am »
thamks. ;D