Reputation: 9560
(gdb) set disassemble intel
Ambiguous set command "disassemble intel": disassemble-next-line, disassembler-options.
When i set the disassembly syntax to intel, it show this error.
Upvotes: 21
Views: 21765
Reputation: 28892
Please use:
set disassembly-flavor intel
see GDB Manual for more details
For a more permanent change please look: here
Upvotes: 41
Reputation: 380
To make the change permanent you must add it to your gdb
config file:
echo "set disassembly-flavor intel" >> ~/.gdbinit
Then run:
cat ~/.gdbinit
to make sure the file has the proper content.
Upvotes: 23