diff --git a/tools/gdbinit b/tools/gdbinit index ad7847df31..53ead3e881 100644 --- a/tools/gdbinit +++ b/tools/gdbinit @@ -138,7 +138,13 @@ Find the location of a given address in V8 pages. Usage: heap_find address end -set disassembly-flavor intel +# The 'disassembly-flavor' command is only available on i386 and x84_64. +python +try: + gdb.execute("set disassembly-flavor intel") +except gdb.error: + pass +end set disable-randomization off # Install a handler whenever the debugger stops due to a signal. It walks up the