65 Commits

Author SHA1 Message Date
Guy Shimko
56eef2a483
Merge pull request #44 from guyush1/fix-gdb-auto-load
Fix gdb auto load
v16.2-static
2025-02-10 23:56:42 +02:00
Guy Shimko
fb1c8c064b Updated README and compilation to gdb-16 2025-02-10 00:25:35 +02:00
Guy Shimko
0aef35466f Fix gdb debug script auto-load via explicit data&debug configuration
The problem was that our default gdb datadir and debugdir had
non-standard paths, due to some unknown configuration detection.

In order to fix it, we now pass the standard paths via the --with-gdb-datadir & --with-separate-debug-dir variables.
I also set --with-jit-reader-dir, --with-system-gdbinit and --with-system-gdbinit-dir path to be the standard path as well.
2025-02-10 00:24:32 +02:00
Guy Shimko
a67de84e98
Merge pull request #43 from guyush1/fix-python-modules-on-init
Initializing gdb modules on Python init #41
2025-02-07 15:41:52 +02:00
Guy Shimko
6332ea0b03
Merge pull request #42 from guyush1/update-to-gdb-16.2
Update binutils to our static branch for gdb-16.2
2025-02-07 15:39:16 +02:00
Roddy Rappaport
cd70d531cf Initializing gdb modules on Python init #41
- Added the frozen_utils library to Python in order to expose the
  modules and submodules that were frozen with Python.
- Using frozen_utils in order to find the modules that GDB usually
  imports on init and importing them.
2025-02-07 12:15:01 +02:00
Guy Shimko
f23c33bdd3 Update binutils to our static branch for gdb-16.2
Almost no conflicts were encountered :)
2025-02-05 23:29:17 +02:00
Guy Shimko
6a31199eff
Merge pull request #40 from guyush1/improve-compilation-mdfile
docs: improve compilation manual documentation
2025-02-04 23:47:25 +02:00
Guy Shimko
646f3e2b3c docs: improve compilation manual documentation 2025-01-23 17:27:49 +02:00
Roddy Rappaport
75bc26180a Moved binutils-gdb configure changes to configure.ac #32 2025-01-22 12:28:22 +02:00
Guy Shimko
068ae4eb24
Merge pull request #37 from guyush1/hotfix/fix-python-module-generation
build: fix python frozen modules generation
v15.2-static-4
2025-01-20 21:26:23 +02:00
Guy Shimko
9b43b0cf47 build: fix python frozen modules generation
The problem was due to duplicate modules present both in the base frozen
modules and also in the extra modules list file.

This commit should allow us to import gdb and pygments again.
2025-01-20 21:03:32 +02:00
Guy Shimko
1d6af45cac build: Build make build and make pack sequentially
Building multiple targets in parallel may cause docker race conditions.
v15.2-static-3
2025-01-15 23:43:41 +02:00
Guy Shimko
a7efcb729e build: delete package dir before redownloading it 2025-01-15 23:43:41 +02:00
Guy Shimko
8baaffdcbf build: always download and extract tars
This caused failures in our ci-cd. Always downloading & extracting the
tars makes sure we will redownload them & extract if the previous
download / extraction was faulty.
2025-01-15 23:43:41 +02:00
Guy Shimko
eef9ea9215
Merge pull request #34 from guyush1/add-submodules-note
docs: Add a note about submodules initialization and sync
2025-01-14 22:33:00 +02:00
Guy Shimko
1d7b4ff428 docs: Add a note about submodules initialization and sync 2025-01-14 21:48:07 +02:00
Guy Shimko
386d09efd7
Merge pull request #29 from RoiKlevansky/redesign-readme
Redesign readme
2025-01-14 21:43:48 +02:00
Roi Klevansky
a5d4b7838e feat: add minimal package.json file for contributor-faces 2025-01-13 20:17:41 +02:00
Roi Klevansky
657600689c ref: redone README.md 2025-01-13 20:17:41 +02:00
Roi Klevansky
9e717db750 docs: add project logo 2025-01-13 17:13:20 +02:00
Guy Shimko
e97b65c6b9
Merge pull request #31 from guyush1/add-libexpat-support
build: added libexpat build support
2025-01-10 15:51:06 +02:00
Guy Shimko
d978ca9aaf build: added libexpat build support
This allows commands such as "info os files"
previously we had expat support on x86_64 only.
2025-01-10 15:34:56 +02:00
Guy Shimko
9e7d1ed118
Merge pull request #30 from guyush1/external-python-gdb-lib
Compiling Pygments & dependencies in GDB
2025-01-10 15:31:25 +02:00
Roddy Rappaport
89f092efb7 Compiling Pygments & dependencies in GDB
Added Pygments to build

This is in order to enable GDB syntax highlighting
2025-01-09 21:20:36 +02:00
Guy Shimko
f7e97cac7f
Merge pull request #25 from guyush1/allow-build-with-and-without-python
build: Allow building gdb with and without python
2024-12-30 23:55:08 +02:00
Guy Shimko
6738cedefc automation: build python targets in pipeline ci-cd
done using a 2d matrix involving the build type (regular or with python)
2024-12-30 23:21:17 +02:00
Guy Shimko
5359ff1116 build: Allow building gdb with and without python 2024-12-30 23:21:17 +02:00
Guy Shimko
17346caf10
Merge pull request #23 from guyush1/reduce-static-python-size
reduce static gdb python size
2024-12-25 23:46:36 +02:00
Guy Shimko
aa49ade8d4 Strip the executables in order to reduce their size 2024-12-25 21:35:03 +02:00
Guy Shimko
1dfe3fa6ca Reduce static-gdb size by reducing python size
Updated the python submodule.
The newer submodule will create smaller static python libraries.
2024-12-25 21:35:03 +02:00
Roddy Rappaport
c44e67540a Added X64 build prefix
There's no real reason to assume the host machine is X64.
2024-12-21 13:50:39 +02:00
Roddy Rappaport
a0ceeff014 Added parallel build to PR workflow
Using a matrix and job separation we can make the architectures compile
parallel to eachother, hopefully reducing the time required for builds
and also simplifying the process of building a single architecture.

A problem that we encountered is that with Python the resulting packed
tars are very large. Each release is in the order of tens of megabytes.
Using artifacts in our pipeline can easily make us surpass the maximum
size limit for free GitHub accounts (500 MB).
Because of this, we use the regular non-parallel pipeline for release
build. Releasing the version from the same job the build was performed
in allows us to directly access the build files instead of using
artifacts.

Separated release and MR pipelines.
2024-12-21 13:50:39 +02:00
Roddy Rappaport
0a60aedf76 Added submodule checkout to automation 2024-12-21 13:26:37 +02:00
Roddy Rappaport
ff0d3ad28f Added -e flag to bash build.sh
We want audible fails
2024-12-21 13:26:37 +02:00
Roddy Rappaport
c86f506e90 Add submodules to build/packages
Using symlinks the submodules are added to appear just like any
downloaded unpacked tar.

Also added a Makefile clean rule to clean the submodules, which
includes Reseting the submodules to the origin branch state,
including ignored files.
2024-12-21 13:26:37 +02:00
Roddy Rappaport
46e8eb22a8 Added static-python and static gdb submodules 2024-12-21 13:26:37 +02:00
Guy Shimko
fa04d3a7a2 gdb with python support integration
This commits enables gdb's python support. In order to make it work, we
had to create a python fork with some patches to the buildsystem, and
also had to patch gdb as well.
2024-12-21 13:26:37 +02:00
Guy Shimko
dc882d9598
Merge pull request #14 from guyush1/enable-tui-statically
add tui to gdb
v15.2-static-2
2024-11-11 08:18:37 +02:00
Guy Shimko
d55a31bb5e build: build gdb with tui mode enabled
This was acheived by forcing gdb to use our own static libncurses
2024-11-10 23:22:56 +02:00
Guy Shimko
a962fbb441 build: download the ncurses package 2024-11-10 23:22:56 +02:00
Guy Shimko
d5e1dbb011
Merge pull request #13 from guyush1/add-mips-mipsel
build: add mips & mipsel targets
2024-11-10 23:22:32 +02:00
Guy Shimko
8dc07deb66 build: add mips & mipsel targets 2024-11-10 22:26:05 +02:00
Guy Shimko
3738fc8629
Merge pull request #11 from guyush1/improve-documentation
documentation: improve the readme file
2024-11-10 22:21:41 +02:00
Guy Shimko
fe4c0763e8 documentation: split & improve the readme file
This commit splits the readme file into 2 files - the readme which
contains instructions on how to download our latest release, and on how
to use our build scripts in order to quickly build gdb statically. The
second file is a compilation guide that contains explanations on how to
manually compile gdb statically.
2024-11-08 13:02:19 +02:00
Guy Shimko
08909223f2
Merge pull request #10 from guyush1/gdb-15.2-update
build: update gdb to v15.2
v15.2-static
2024-10-31 08:49:55 +02:00
Guy Shimko
4c9cc100fb build: update gdb to v15.2 2024-10-30 22:15:12 +02:00
Guy Shimko
a9a044ffdc
Merge pull request #9 from RoiKlevansky/ci-cd-pipeline
CI/CD pipeline
2024-10-30 21:44:48 +02:00
Roi Klevansky
fe4ad583ae fix: move all package links to GNU FTP 2024-10-30 20:38:57 +02:00
Roi Klevansky
7697e5c2e1 build(ci/cd): add basic Github workflow pipeline 2024-10-30 20:38:57 +02:00