projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e315fe
)
Add short blurb about bug hunting in HACKING.
author
Linus Nordberg
<linus@nordu.net>
Mon, 14 Mar 2011 12:23:24 +0000
(13:23 +0100)
committer
Linus Nordberg
<linus@nordu.net>
Mon, 14 Mar 2011 12:23:24 +0000
(13:23 +0100)
lib/HACKING
patch
|
blob
|
history
diff --git
a/lib/HACKING
b/lib/HACKING
index
2be4d67
..
6c502bd
100644
(file)
--- a/
lib/HACKING
+++ b/
lib/HACKING
@@
-47,3
+47,13
@@
This is on Ubuntu 10.10.
- [TLS] verification of CNAME
- [TLS] preshared key support
- [DTLS] support
- [TLS] verification of CNAME
- [TLS] preshared key support
- [DTLS] support
+
+* Found a bug?
+If possible, please build the library with DEBUG defined
+(CFLAGS=-DDEBUG) and reproduce the problem. With DEBUG defined, lots
+of asserts are enabled which might give a hint about what's gone
+wrong.
+
+Running the library under gdb is another good idea. If you experience
+a crash, catching that in gdb and providing a backtrace is highly
+valuable for debugging.