|
From: Xiang Y. <xy...@pr...> - 2003-06-26 20:02:31
|
For a list like below, how can I get more stack trace info more than 4 levels ==27611== Use of uninitialised value of size 4 ==27611== at 0x84B8209: ztucbtx (in /home/xiang/working/apisrv) ==27611== by 0x84B8C51: ztvope (in /home/xiang/working/apisrv) ==27611== by 0x826A8BD: kzsrepw (in /home/xiang/working/apisrv) ==27611== by 0x8261874: kpu8lgn (in /home/xiang/working/apisrv) Thanks |
|
From: Dan K. <da...@ke...> - 2003-06-26 20:09:47
|
Xiang Yan wrote:
> For a list like below, how can I get more stack trace info more than 4
> levels
> ==27611== Use of uninitialised value of size 4
> ==27611== at 0x84B8209: ztucbtx (in /home/xiang/working/apisrv)
> ==27611== by 0x84B8C51: ztvope (in /home/xiang/working/apisrv)
> ==27611== by 0x826A8BD: kzsrepw (in /home/xiang/working/apisrv)
> ==27611== by 0x8261874: kpu8lgn (in /home/xiang/working/apisrv)
Look at the valgrind usage message:
usage: valgrind [options] prog-and-args
core user options, with defaults in [ ], are:
--help show this message
--version show version
--skin=<name> main task (skin to use) [Valgrind]
-q --quiet run silently; only print error msgs
-v --verbose be more verbose, incl counts of errors
--gdb-attach=no|yes start GDB when errors detected? [no]
--demangle=no|yes automatically demangle C++ names? [yes]
--num-callers=<number> show <num> callers in stack traces [4]
...
- Dan
--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
|