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
+14-9
Original file line number
Diff line number
Diff line change
@@ -60,17 +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. Full builds with Python support && cross-architecture debugging, ~70MB in size. Note that we disable the simulator feature in order to enable cross-architecture debugging (since not all targets have a simulator).
68
-
> 2. Slim builds, which are approximately ~10 MB in size.
69
-
>
70
-
> Full builds are modular - you can edit full_build_conf.sh to disable parts of the full builds.
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 />
71
64
72
65
You may choose to copy the `gdb` binary to the platform, or use `gdbserver` to debug remotely.
73
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
+
74
79
## Development
75
80
76
81
> [!NOTE]
@@ -102,7 +107,7 @@ To build `gdb-static` for a specific architecture, run the following command:
102
107
make build-<ARCH>-[slim/full]
103
108
```
104
109
105
-
Where `<ARCH>` is the architecture you want to build for, and `slim/full` determines the build type (see note about builds above).
110
+
Where `<ARCH>` is the architecture you want to build for, and `slim/full` determines the build type (see [here](#build-types)).
106
111
107
112
The resulting binary will be placed in the `build/artifacts/` directory:
0 commit comments