[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot see source code of shared library
From: |
Pierre Sarrazin |
Subject: |
Re: Cannot see source code of shared library |
Date: |
Wed, 20 Dec 2000 15:59:20 -0500 |
User-agent: |
Mutt/1.2i |
In reference to my original message at:
http://sources.redhat.com/ml/bug-gdb/2000-12/msg00064.html
It seemed like this proposed patch by John Love-Jensen could
solve my problem:
http://sources.redhat.com/ml/bug-gdb/2000-12/msg00073.html
But it did not.
The original bug report by John was here:
http://sources.redhat.com/ml/bug-gdb/2000-12/msg00059.html
I replaced the _last_ 'return (pst);' statement in the
function find_pc_sect_psymtab() [symtab.c] with the 'best = pst;'
statement. I also replaced the final 'return NULL;' statement
with 'return (best);'. The variable 'best' is initialized to NULL
at the beginning of the function.
The end of the function now looks like this:
/*return (pst);*/
/* Best we've got so far, but it's still unimpressive. */
/* Maybe a more likely match further down the chain. */
best = pst;
}
}
return (best); /* @sarrazip 20001220 */
}
However, my own problem persists.
Is there a small piece of code that produces the original bug?
I could run it on my machine to try to study the problem a bit more.
--
Pierre Sarrazin <sarrazip at machinasapiens dot com>