Changes between Version 11 and Version 12 of DevWikiGettingABackTrace
- Timestamp:
- 07/14/23 18:53:14 (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevWikiGettingABackTrace
v11 v12 5 5 = Prerequisites = 6 6 7 This tutorial assumes that you are running a POSIX-based operating system such as Linux, Solaris, MacOS etc. If you are running Windows then you can obtain a similar result once you have installed the required MingW components (you can download precompiled gdb 7.0 for MingW from [http://sourceforge.net/projects/mingw/files/GNU%20Source-Level] and then extract contents into your c:\mingw folder ). You will need to make sure that gdb (GNU debugger) has been installed on your system; to verify this, simply type "gdb -v" and check the output. If gdb is installed, you'll see something like this:7 This tutorial assumes that you are running a POSIX-based operating system such as Linux, BSD, Solaris, MacOS, MSYS2, Cygwin etc. If you are running Windows then you can obtain a similar result once you have installed the required MingW/Msys2 components which are generally part of [https://www.msys2.org/ Msys2] or can be installed via Pacman package manager shipped with msys2. You will need to make sure that gdb (GNU debugger) has been installed on your system; to verify this, simply type "gdb -v" and check the output. If gdb is installed, you'll see something like this: 8 8 9 9 {{{ 10 GNU gdb 6.8-debian11 Copyright (C) 20 08 Free Software Foundation, Inc.10 GNU gdb (GDB) 8.1 11 Copyright (C) 2018 Free Software Foundation, Inc. 12 12 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 13 This is free software: you are free to change and redistribute it.14 There is NO WARRANTY, to the extent permitted by law. Type "show copying"15 and "show warranty" for details.16 This GDB was configured as "x86_64-linux-gnu".17 13 }}} 18 19 20 14 = TIP = 21 15 The most meaningful backtrace can be achieved by working against a postgresql compiled with debug fiels. To build postgresql