projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a78029
)
* src/threads/threads-common.c (threads_print_stacktrace): Removed
author
twisti
<none@none>
Thu, 5 Apr 2007 00:14:57 +0000
(
00:14
+0000)
committer
twisti
<none@none>
Thu, 5 Apr 2007 00:14:57 +0000
(
00:14
+0000)
!ENABLE_THREADS code, since this file is only compiled with
ENABLE_THREADS.
src/threads/threads-common.c
patch
|
blob
|
history
diff --git
a/src/threads/threads-common.c
b/src/threads/threads-common.c
index 4016de79852ab287fc83573a1804f9b8f3e71196..739a32a55b83fa007b3c49e22f7716b53eb8de6a 100644
(file)
--- a/
src/threads/threads-common.c
+++ b/
src/threads/threads-common.c
@@
-211,13
+211,9
@@
void threads_print_stacktrace(threadobject *thread)
dumpsize = dump_size();
- /* create a stacktrace for the
current
thread */
+ /* create a stacktrace for the
passed
thread */
-#if defined(ENABLE_THREADS)
sfi = thread->_stackframeinfo;
-#else
- sfi = _no_threads_stackframeinfo;
-#endif
stb = stacktrace_create(sfi);