Saturday, January 29, 2011

OS X IP alias

To avoid reconfiguring interfaces for repeated router setups, decided to find out how to add an IP alias in Mac OS X:

sudo ifconfig en1 alias netmask

Wednesday, January 26, 2011

gdb tricks

Excellent gdb examples at blog.

gdb --args
set substitute path

-ggdb3 to gdb optimized debug symbols; macro expand