NetBeans debugger: Intel syntax

Aroldo

Honorable
Dec 19, 2013
7
0
10,510
0
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
0


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
0


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

 
Thread starter Similar threads Forum Replies Date
E Apps General Discussion 3
N Apps General Discussion 3
J Apps General Discussion 2
A Apps General Discussion 3
K Apps General Discussion 2
F Apps General Discussion 1
J Apps General Discussion 4
Heiski Apps General Discussion 1
T Apps General Discussion 1
jgonzo Apps General Discussion 8
B Apps General Discussion 1
F Apps General Discussion 3
hk3008 Apps General Discussion 8
memadmax Apps General Discussion 4
wolfram23 Apps General Discussion 3
N Apps General Discussion 2
J Apps General Discussion 1
H Apps General Discussion 1
A Apps General Discussion 1
R Apps General Discussion 10

ASK THE COMMUNITY