We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf28018 commit f179ed8Copy full SHA for f179ed8
Book/php7/debugging.rst
@@ -5,4 +5,9 @@ This chapter will introduce you with the GNU C debugger, aka GDB. When a crash h
5
guilty part in thousands of lines. You need tools for that, and GDB is the most commonly used debugger under Unix
6
platforms. Here we'll give you an introduction to GDB and how to practice with it against the PHP source code.
7
8
+Debug symbols
9
+-------------
10
11
+GDB requires debug symbols to map the memory addresses in your binary to the original position in your source code. To
12
+generate debug symbols you need to pass the ``--enable-debug`` flag to the ``./configure`` script. To get even more
13
+debugging information you may add the ``CFLAGS="-ggdb3"`` flag which will add support for macros.
0 commit comments