How to configure "gdb" for the syntax Intel

1

I'm trying to set gdb to syntax intel , however I'm getting the following message:

Ambiguous set command "dis intel": disable-randomization, disassemble-next-line,
disassembly-flavor, disconnected-dprintf...

I'm tempted by the procedures below, but when I run the second procedure the above message appears.

root@debian:/home/novousuario# gdb -q
(gdb) set dis intel
(gdb) quit
root@debian:/home/novousuario# echo "set dis intel" > ~/.gdbinit 
root@debian:/home/novousuario# cat ~/.gdbinit
    
asked by anonymous 18.10.2016 / 18:03

1 answer

1

The error is occurring because the command is abbreviated ("dis").

Try the full form of the command (in interactive mode and / or in the ~/.gdbinit file):

set disassembly-flavor intel
    
19.10.2016 / 05:25