NetBeans debugger: Intel syntax

Aroldo

Honorable
Dec 19, 2013
7
0
10,510
I made a C application with NetBeans and using the debugger i wanted to see the assembly, but i think it showed me the AT&T syntax, it looks like:
main+0: push %ebp
main+1: mov %esp,%ebp
main+3: and $0xfffffff0,%esp
main+6: sub $0x20,%esp
main+9: call 0x401c70 <__main>

Is it AT&T? I have an Intel CPU, i think it should show me the Intel syntax. How can i change the view?
Thanks
 

Aroldo

Honorable
Dec 19, 2013
7
0
10,510


I know that the bytecode of an application (my application is an Hello world application, it is very very simple) can be converted to the assembly language using 2 syntaxes, depending on the architecture of the CPU. Those 2 syntaxes are AT&T (Linux) and Intel (Windows). In fact i have an Intel architecture, but the assembler convert the bytecode into AT&T syntax.
I know that with the GCC debugger the syntax can be changed with a particular command, but with NetBeans i don't know how to do this.

 

Aroldo

Honorable
Dec 19, 2013
7
0
10,510


This could be a solution for me, but i'm learning about those things through a book that uses Intel syntax. So i need to use the same syntax on my pc to follow to book :D