You are not logged in.

#1 2009-09-04 01:42:53

megaman
Member
Registered: 2009-07-11
Posts: 7

[Solved]Default To Intel Syntax In GDB

Does anyone happen to know the correct way to have GDB automatically show Intel syntax when started up? The process I have tried already did not work for me. Any suggestions shoud be helpful, thanks.

Last edited by megaman (2009-09-04 09:53:19)

Offline

#2 2009-09-04 08:19:34

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: [Solved]Default To Intel Syntax In GDB

If you put the line:
set disassembly-flavor intel
in the file ~/.gdbinit it should work.

Offline

#3 2009-09-04 09:52:06

megaman
Member
Registered: 2009-07-11
Posts: 7

Re: [Solved]Default To Intel Syntax In GDB

Solved, Interesting though. For further note, what I read earlier had me putting

set dis intel

That just didn't work.  Of course I was doing this manually for a long time, anyways; thanks for your feedback.

Last edited by megaman (2009-09-04 09:52:55)

Offline

Board footer

Powered by FluxBB