Copy it to the home folder and it'll be automatically loaded by gdb.

On Jun 22, 2012, at 11:49 AM, gmspro gmspro wrote:

> Alex Newone wrote in post #1065644:
>> Ruby has GDB helpers. Take a look at
>> https://github.com/ruby/ruby/blob/trunk/.gdbinit
>> Fo instance rp prints any ruby value. There are other handy helpers as
>> well.
> 
> How to use that .gdbinit?
> https://github.com/ruby/ruby/blob/trunk/.gdbinit
> 
> -- 
> Posted via http://www.ruby-forum.com/.
>