From 1a5ac4aa9a4ee5f52acf166f3deebbd514f5735a Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Thu, 22 Feb 2024 11:25:40 +0530 Subject: [PATCH] Add more notes about debugging symbols in README [skip ci] --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 25f51f661..df09ac829 100644 --- a/README.md +++ b/README.md @@ -559,6 +559,11 @@ steps: - Production release builds of PHP without debugging symbols are set up by default. - You can use the `debug` environment variable to set up a build with debugging symbols for PHP 5.6 and above. +**Notes** +- On Linux, the debug symbols are added as [debug info files](https://sourceware.org/gdb/current/onlinedocs/gdb.html/Separate-Debug-Files.html) in the `/usr/lib/debug/.build-id` directory. These files match the `build-id` in the ELF section of the PHP binaries and debugging tools like `gdb` are able to resolve the symbols from these files. +- On Windows, the debug symbols are added as `pdb` files in the PHP installation directory. +- On macOS, the debug symbols are compiled into the binaries. + ```yaml steps: - name: Setup PHP with debugging symbols