Skip to content

Commit

Permalink
x86_64-elf-gdb 16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bayandin committed Jan 22, 2025
1 parent cb76308 commit 8947d3b
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions Formula/x/x86_64-elf-gdb.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class X8664ElfGdb < Formula

Check notice on line 1 in Formula/x/x86_64-elf-gdb.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for x86_64-elf-gdb built at 4f1706fe6c1 (Merge 8a3a3a82efdc09acc82c12821f2c1347819344cf into 5522dd64af20331c6513669504c0bef3dfa7907f, 2025-01-22)

Check notice on line 1 in Formula/x/x86_64-elf-gdb.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for x86_64-elf-gdb built at 4f1706fe6c1 (Merge 8a3a3a82efdc09acc82c12821f2c1347819344cf into 5522dd64af20331c6513669504c0bef3dfa7907f, 2025-01-22)

Check notice on line 1 in Formula/x/x86_64-elf-gdb.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

Bottle cache hit

Bottle for x86_64-elf-gdb built at 4f1706fe6c1 (Merge 8a3a3a82efdc09acc82c12821f2c1347819344cf into 5522dd64af20331c6513669504c0bef3dfa7907f, 2025-01-22)

Check notice on line 1 in Formula/x/x86_64-elf-gdb.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for x86_64-elf-gdb built at 4f1706fe6c1 (Merge 8a3a3a82efdc09acc82c12821f2c1347819344cf into 5522dd64af20331c6513669504c0bef3dfa7907f, 2025-01-22)

Check notice on line 1 in Formula/x/x86_64-elf-gdb.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for x86_64-elf-gdb built at 4f1706fe6c1 (Merge 8a3a3a82efdc09acc82c12821f2c1347819344cf into 5522dd64af20331c6513669504c0bef3dfa7907f, 2025-01-22)

Check notice on line 1 in Formula/x/x86_64-elf-gdb.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for x86_64-elf-gdb built at 4f1706fe6c1 (Merge 8a3a3a82efdc09acc82c12821f2c1347819344cf into 5522dd64af20331c6513669504c0bef3dfa7907f, 2025-01-22)
desc "GNU debugger for x86_64-elf cross development"
homepage "https://www.gnu.org/software/gdb/"
url "https://ftp.gnu.org/gnu/gdb/gdb-15.2.tar.xz"
mirror "https://ftpmirror.gnu.org/gdb/gdb-15.2.tar.xz"
sha256 "83350ccd35b5b5a0cba6b334c41294ea968158c573940904f00b92f76345314d"
url "https://ftp.gnu.org/gnu/gdb/gdb-16.1.tar.xz"
mirror "https://ftpmirror.gnu.org/gdb/gdb-16.1.tar.xz"
sha256 "c2cc5ccca029b7a7c3879ce8a96528fdfd056b4d884f2b0511e8f7bc723355c6"
license "GPL-3.0-or-later"
head "https://sourceware.org/git/binutils-gdb.git", branch: "master"

Expand Down Expand Up @@ -36,6 +36,10 @@ class X8664ElfGdb < Formula
depends_on "texinfo" => :build
end

# Fix build on Linux
# Ref: https://sourceware.org/bugzilla/show_bug.cgi?id=32578
patch :DATA

def install
target = "x86_64-elf"
args = %W[
Expand Down Expand Up @@ -68,3 +72,31 @@ def install
assert_match "Symbol \"_start\" is a function at address 0x", output
end
end

__END__
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index aec3717485a..ee674a36c5b 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -1318,7 +1318,7 @@ REGEN_TEXI = \
$(MKDOC) -f $(srcdir)/doc/doc.str < $< > [email protected]; \
texi=$@; \
texi=$${texi%.stamp}.texi; \
- test -e $$texi || test ! -f $(srcdir)/$$texi || $(LN_S) $(srcdir)/$$texi $$texi; \
+ test -e $$texi || test ! -f $(srcdir)/$$texi || $(LN_S) $(abs_srcdir)/$$texi $$texi; \
$(SHELL) $(srcdir)/../move-if-change [email protected] $$texi; \
touch $@; \
)
diff --git a/bfd/doc/local.mk b/bfd/doc/local.mk
index 97d658b5a48..9b75402387c 100644
--- a/bfd/doc/local.mk
+++ b/bfd/doc/local.mk
@@ -101,7 +101,7 @@ REGEN_TEXI = \
$(MKDOC) -f $(srcdir)/%D%/doc.str < $< > [email protected]; \
texi=$@; \
texi=$${texi%.stamp}.texi; \
- test -e $$texi || test ! -f $(srcdir)/$$texi || $(LN_S) $(srcdir)/$$texi $$texi; \
+ test -e $$texi || test ! -f $(srcdir)/$$texi || $(LN_S) $(abs_srcdir)/$$texi $$texi; \
$(SHELL) $(srcdir)/../move-if-change [email protected] $$texi; \
touch $@; \
)

0 comments on commit 8947d3b

Please sign in to comment.