summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-02-12 11:57:30 -0500
committerJune McEnroe <june@causal.agency>2018-02-12 11:57:30 -0500
commit1cc2b77dbdd85c9df9dc927a2a0b09bd4818655e (patch)
tree1ab409f1cf5550ef2a095c0677f95c6ed0c8ca0e
parentAdd "Close Window" menu item to gfx/cocoa (diff)
downloadsrc-1cc2b77dbdd85c9df9dc927a2a0b09bd4818655e.tar.gz
src-1cc2b77dbdd85c9df9dc927a2a0b09bd4818655e.zip
Use Intel syntax in LLDB
GDB has no idea what's going on if you run it on a Cocoa app, and it
turns out LLDB is pretty nice. Why does it get a bad reputation?
Diffstat (limited to '')
-rw-r--r--home/.lldbinit1
-rwxr-xr-xlink.zsh1
2 files changed, 2 insertions, 0 deletions
diff --git a/home/.lldbinit b/home/.lldbinit
new file mode 100644
index 00000000..73f3e676
--- /dev/null
+++ b/home/.lldbinit
@@ -0,0 +1 @@
+settings set target.x86-disassembly-flavor intel
diff --git a/link.zsh b/link.zsh
index 13bb175b..b9e08bc7 100755
--- a/link.zsh
+++ b/link.zsh
@@ -32,6 +32,7 @@ link '.gdbinit'
 link '.gnupg/gpg-agent.conf'
 link '.hushlogin'
 link '.inputrc'
+link '.lldbinit'
 link '.psqlrc'
 link '.ssh/config'
 link '.zshrc'