```ruby
require 'formula'

class Gdb < Formula
  url 'http://ftp.gnu.org/gnu/gdb/gdb-7.3.1.tar.bz2'
  homepage 'http://www.gnu.org/software/gdb/'
  md5 'b89a5fac359c618dda97b88645ceab47'

  def install
    args = ["--prefix=#{prefix}",
            "--disable-debug",
            "--disable-dependency-tracking",
            "--with-python=/usr"]

    system "./configure", *args
    system "make"
    system "make install"
  end

  def caveats; <<-EOS.undent
    In order to make this build of gdb useful, you may have to code sign
    the binary. In order to do this, you must create a certificate in your
    System keychain. For more information, see:

    http://sourceware.org/gdb/wiki/BuildingOnDarwin
    EOS
  end
end
```

Use ftpmirror.gnu.org for GNU urls
user
```ruby
require 'formula'

class Gdb < Formula
  url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2'
  homepage 'http://www.gnu.org/software/gdb/'
  md5 'b89a5fac359c618dda97b88645ceab47'

  def install
    args = ["--prefix=#{prefix}",
            "--disable-debug",
            "--disable-dependency-tracking",
            "--with-python=/usr"]

    system "./configure", *args
    system "make"
    system "make install"
  end

  def caveats; <<-EOS.undent
    In order to make this build of gdb useful, you may have to code sign
    the binary. In order to do this, you must create a certificate in your
    System keychain. For more information, see:

    http://sourceware.org/gdb/wiki/BuildingOnDarwin
    EOS
  end
end
```
assistant