git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-11-11 22:24:43 +00:00
commit cd1a07fe18
10 changed files with 123 additions and 129 deletions

View file

@ -100,6 +100,9 @@ wad_stack_trace(unsigned long pc, unsigned long sp, unsigned long fp) {
} else {
symname = 0;
}
if (symname) symname = wad_cplus_demangle(&wsym);
value = wsym.value;
/* Build up some information about the exception frame */
@ -114,6 +117,8 @@ wad_stack_trace(unsigned long pc, unsigned long sp, unsigned long fp) {
if (symname) {
symsize = strlen(symname)+1;
/* printf("C++: '%s' ---> '%s'\n", symname, wad_cplus_demangle(&wsym));*/
/* Try to gather some debugging information about this symbol */
if (wad_debug_info(wo,&wsym, p_pc - (unsigned long) ws->base - value, &wd)) {
srcname = wd.srcfile;