You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-8
Original file line number
Diff line number
Diff line change
@@ -60,15 +60,22 @@ This is where `gdb-static` comes in! We provide static builds of `gdb` (and `gdb
60
60
61
61
## Usage
62
62
63
-
To get started with `gdb-static`, simply download the build for your architecture from the [releases page](https://github.com/guyush1/gdb-static/releases/latest), extract the archive, and copy the binary to your desired platform.
64
-
65
-
> [!NOTE]
66
-
> We provide two types of builds:
67
-
> 1. Builds with Python support, which are approximately ~30 MB in size.
68
-
> 2. Slimmer builds without Python support, which are approximately ~7 MB in size.
63
+
To get started with `gdb-static`, simply download the build for your architecture from the [releases page](https://github.com/guyush1/gdb-static/releases/latest), extract the archive, and copy the binary to your desired platform. <br />
69
64
70
65
You may choose to copy the `gdb` binary to the platform, or use `gdbserver` to debug remotely.
71
66
67
+
## Build types
68
+
69
+
We provide two types of builds:
70
+
1. Slim builds, that contains most of the features, beside the ones mentioned below.
71
+
2. Full builds that contains all of the slim build features, and also contains:
72
+
* Python support
73
+
* Cross-architecture debugging. <br />
74
+
Note that in order to enable cross-architecture debugging, we have to disable the simulator feature, since not all targets have a simulator.
75
+
76
+
Slim builds are approximately ~10MB. Full builds are approximately ~70MB. <br />
77
+
You can edit the full_build_conf.sh file to disable full build exclusive features.
78
+
72
79
## Development
73
80
74
81
> [!NOTE]
@@ -97,10 +104,10 @@ Building for a specific architecture
97
104
To build `gdb-static` for a specific architecture, run the following command:
98
105
99
106
```bash
100
-
make build[-with-python]-<ARCH>
107
+
make build-<ARCH>-[slim/full]
101
108
```
102
109
103
-
Where `<ARCH>` is the architecture you want to build for, and `-with-python` may be added in order to compile gdb with Python support.
110
+
Where `<ARCH>` is the architecture you want to build for, and `slim/full` determines the build type (see [here](#build-types)).
104
111
105
112
The resulting binary will be placed in the `build/artifacts/` directory:
0 commit comments