Re: Debugging Sudo
"Todd C. Miller" <[email protected]> Tue, 16 Mar 2021 15:27:29 -0600
| Newsgroups | gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 17 Mar 2021 10:01:22 +1300, Andrew Rider wrote:
> How do you compile sudo with debugging symbols, I checked but couldn't find
> anything
The configure script will build sudo with debugging symbols by
default, but because it also enables optimization the line numbers
don't always line up.
To enable debugging symbols and also disable optimization you can
do something like:
./configure "CFLAGS=-g -O0"
Hope that helps.
- todd
____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers