Re: [dev-servo] PSA: Mac debugging tips for Servo and Stylo

2016-11-09 Thread Manish Goregaokar
make all-gdb and make install-gdb are faster fwiw (and need less deps installed) This is what I use on a mac: make all-gdb -j8 CXXFLAGS="-w -g" CFLAGS="-g" && make install-gdb && codesign -s gdb-cert ~/gdb/bin/gdb (need to ignore warnings because clang. Remove the -g if you're not hacking on gdb

Re: [dev-servo] PSA: Mac debugging tips for Servo and Stylo

2016-11-09 Thread Jim Blandy
If you're on Linux, GDB 7.12 has Rust support. Fedora hasn't packaged that yet, but I did this to get a fresh GDB that I can run from ~/gdb/bin: sudo dnf builddep binutils gdb mkdir ~/gdb cd ~/gdb git clone git://sourceware.org/git/binutils-gdb.git mkdir build cd build ../binutils-gdb/configure --