summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-12 11:57:30 -0500
committerJune McEnroe <programble@gmail.com>2018-02-12 11:57:30 -0500
commitc1823d2f307fd089054e723ad3ed5d7db9af5bc9 (patch)
tree7cf80b2239de308c8e7774b1443e051ca80eac13
parentAdd "Close Window" menu item to gfx/cocoa (diff)
downloadsrc-c1823d2f307fd089054e723ad3ed5d7db9af5bc9.tar.gz
src-c1823d2f307fd089054e723ad3ed5d7db9af5bc9.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'