Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
636bb94f
Commit
636bb94f
authored
Sep 08, 2011
by
Hisham Muhammad
Browse files
improve Valgrind output
parent
27b470e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
debug.h
View file @
636bb94f
...
...
@@ -8,7 +8,7 @@
#define realloc(x,s) DebugMemory_realloc(x, s, __FILE__, __LINE__, #x)
#define strdup(x) DebugMemory_strdup(x, __FILE__, __LINE__)
#define free(x) DebugMemory_free(x, __FILE__, __LINE__)
#define debug_done() DebugMemory_report()
#define debug_done() DebugMemory_report()
; _nc_free_and_exit()
#elif defined(DEBUGLITE)
...
...
@@ -16,13 +16,13 @@
#ifdef NDEBUG
#undef NDEBUG
#endif
#define debug_done()
sleep(0)
#define debug_done()
#else
/* No debugging */
#define NDEBUG
#define debug_done()
sleep(0)
#define debug_done()
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment