-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump gdb version to one which supports both python 2 and 3
- Loading branch information
Showing
4 changed files
with
7 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
#!/bin/sh -e | ||
# gdb-PPU.sh by Naomi Peori ([email protected]) | ||
|
||
GDB="gdb-7.5.1" | ||
GDB="gdb-11.2" | ||
|
||
if [ ! -d ${GDB} ]; then | ||
|
||
## Download the source code. | ||
if [ ! -f ${GDB}.tar.bz2 ]; then wget --continue https://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2; fi | ||
if [ ! -f ${GDB}.tar.xz ]; then wget --continue https://ftp.gnu.org/gnu/gdb/${GDB}.tar.xz; fi | ||
|
||
## Download an up-to-date config.guess and config.sub | ||
if [ ! -f config.guess ]; then wget --continue https://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi | ||
if [ ! -f config.sub ]; then wget --continue https://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi | ||
|
||
## Unpack the source code. | ||
tar xfvj ${GDB}.tar.bz2 | ||
|
||
## Patch the source code. | ||
cat ../patches/${GDB}-PS3.patch | patch -p1 -d ${GDB} | ||
tar xfvJ ${GDB}.tar.xz | ||
|
||
## Replace config.guess and config.sub | ||
cp config.guess config.sub ${GDB} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
#!/bin/sh -e | ||
# gdb-SPU.sh by Naomi Peori ([email protected]) | ||
|
||
GDB="gdb-7.5.1" | ||
GDB="gdb-11.2" | ||
|
||
if [ ! -d ${GDB} ]; then | ||
|
||
## Download the source code. | ||
if [ ! -f ${GDB}.tar.bz2 ]; then wget --continue https://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2; fi | ||
if [ ! -f ${GDB}.tar.xz ]; then wget --continue https://ftp.gnu.org/gnu/gdb/${GDB}.tar.xz; fi | ||
|
||
## Download an up-to-date config.guess and config.sub | ||
if [ ! -f config.guess ]; then wget --continue https://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi | ||
if [ ! -f config.sub ]; then wget --continue https://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi | ||
|
||
## Unpack the source code. | ||
tar xfvj ${GDB}.tar.bz2 | ||
|
||
## Patch the source code. | ||
cat ../patches/${GDB}-PS3.patch | patch -p1 -d ${GDB} | ||
tar xfvJ ${GDB}.tar.xz | ||
|
||
## Replace config.guess and config.sub | ||
cp config.guess config.sub ${GDB} | ||
|