Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdb i386-elf-gdb x86_64-elf-gdb 10.1 #63422

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions Formula/gdb.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
class Gdb < Formula
desc "GNU debugger"
homepage "https://www.gnu.org/software/gdb/"
url "https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.xz"
mirror "https://ftpmirror.gnu.org/gdb/gdb-9.2.tar.xz"
sha256 "360cd7ae79b776988e89d8f9a01c985d0b1fa21c767a4295e5f88cb49175c555"
license "GPL-2.0"
revision 2
url "https://ftp.gnu.org/gnu/gdb/gdb-10.1.tar.xz"
mirror "https://ftpmirror.gnu.org/gdb/gdb-10.1.tar.xz"
sha256 "f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0"
license "GPL-3.0-or-later"
head "https://sourceware.org/git/binutils-gdb.git"

livecheck do
Expand Down Expand Up @@ -40,13 +39,6 @@ class Gdb < Formula
EOS
end

# Fix for Python 3.9, remove in next version
# https://sourceware.org/pipermail/gdb-patches/2020-May/169110.html
patch do
url "https://github.com/Homebrew/formula-patches/raw/88f56f8f/gdb/python39.diff"
sha256 "19e989104f54c09a30f06aac87e31706f109784d3e0fdc7ff0fd1bcfd261ebee"
end

def install
args = %W[
--enable-targets=all
Expand Down
16 changes: 4 additions & 12 deletions Formula/i386-elf-gdb.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
class I386ElfGdb < Formula
desc "GNU debugger for i386-elf cross development"
homepage "https://www.gnu.org/software/gdb/"
url "https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.xz"
mirror "https://ftpmirror.gnu.org/gdb/gdb-9.2.tar.xz"
sha256 "360cd7ae79b776988e89d8f9a01c985d0b1fa21c767a4295e5f88cb49175c555"
license "GPL-2.0"
revision 1
url "https://ftp.gnu.org/gnu/gdb/gdb-10.1.tar.xz"
mirror "https://ftpmirror.gnu.org/gdb/gdb-10.1.tar.xz"
sha256 "f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0"
license "GPL-3.0-or-later"
head "https://sourceware.org/git/binutils-gdb.git"

livecheck do
Expand All @@ -24,13 +23,6 @@ class I386ElfGdb < Formula
conflicts_with "gdb", because: "both install include/gdb, share/gdb and share/info"
conflicts_with "x86_64-elf-gdb", because: "both install include/gdb, share/gdb and share/info"

# Fix for Python 3.9, remove in next version
# https://sourceware.org/pipermail/gdb-patches/2020-May/169110.html
patch do
url "https://github.com/Homebrew/formula-patches/raw/88f56f8f/gdb/python39.diff"
sha256 "19e989104f54c09a30f06aac87e31706f109784d3e0fdc7ff0fd1bcfd261ebee"
end

def install
args = %W[
--target=i386-elf
Expand Down
18 changes: 8 additions & 10 deletions Formula/x86_64-elf-gdb.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
class X8664ElfGdb < Formula
desc "GNU debugger for i386-elf cross development"
homepage "https://www.gnu.org/software/gdb/"
url "https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.xz"
sha256 "360cd7ae79b776988e89d8f9a01c985d0b1fa21c767a4295e5f88cb49175c555"
url "https://ftp.gnu.org/gnu/gdb/gdb-10.1.tar.xz"
mirror "https://ftpmirror.gnu.org/gdb/gdb-10.1.tar.xz"
sha256 "f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0"
license "GPL-3.0-or-later"
revision 1
head "https://sourceware.org/git/binutils-gdb.git"

livecheck do
url :stable
end

bottle do
sha256 "d2355fbe70719b02b830f2c3522c8b41ff4e95cd1242b31250004c0f76d1e363" => :catalina
Expand All @@ -18,13 +23,6 @@ class X8664ElfGdb < Formula
conflicts_with "gdb", because: "both install include/gdb, share/gdb and share/info"
conflicts_with "i386-elf-gdb", because: "both install include/gdb, share/gdb and share/info"

# Fix for Python 3.9, remove in next version
# https://sourceware.org/pipermail/gdb-patches/2020-May/169110.html
patch do
url "https://github.com/Homebrew/formula-patches/raw/88f56f8f/gdb/python39.diff"
sha256 "19e989104f54c09a30f06aac87e31706f109784d3e0fdc7ff0fd1bcfd261ebee"
end

def install
args = %W[
--target=x86_64-elf
Expand Down