GDB: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: GDB
| Old | New | Line | |
|---|---|---|---|
| 1 | + |  **GDB**, abbreviated for **GNU debugger** and named *gdb* as an executable file, is the standard debugger for the GNU operating system and many other platforms including Linux and Windows. In macOS 10.14 (2018) and FreeBSD 13.0 (2021), *gdb* was replaced by *[[lldb]]*, and is no longer supported. [[Lazarus]] uses GDB as the default debugger. | |
| 2 | + | ||
| 3 | + | GDB is not a part of Lazarus. Unless you are using Windows or certain versions of macOS with Xcode, you have to install it yourself before using it. Earlier versions of Xcode come with bundled GDB. After installation it will be necessary to set the path to gdb (for example */usr/bin/gdb*) in [[IDE Window: Debugger Options|Lazarus' debugger settings]]. | |
| 4 | + | ||
| 5 | + | - [[GDB on OS X Mavericks and Xcode 5]] | |
| 6 | + | ||
| 7 | + | ## See also | |
| 8 | + | ||
| 9 | + | - [[GDB Debugger Tips]] | |
| 10 | + | - [[Debugging - GDB tricks]] | |
| 11 | + | - [[Creating a Backtrace with GDB]] | |
| 12 | + | - [[Debugger Setup]] | |
| 13 | + | - [[IDE Window: Debug History]] | |
| 14 | + | - [[IDE Window: Debug Output]] | |
| 15 | + | - [[IDE Window: Debugger Options]] | |
| 16 | + | - [[IDE Window: Breakpoints]] | |
| 17 | + | - [[IDE Window: Watch list]] | |
| 18 | + | ||
| 19 | + | ## External Links | |
| 20 | + | ||
| 21 | + | - [Official GDB site](https://www.gnu.org/software/gdb/) | |
| 22 | + | ||
| 23 | + | --- | |
| 24 | + | *From the Free Pascal wiki, page "GDB", as it stood on 2022-05-28 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 25 | + | Category: Debugging |
