mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Pass the correct pointer.
2006-08-16 Søren Sandmann <ssp@localhost.localdomain> * elfparser.c (check_symbol): Pass the correct pointer.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
1f4dd13cd3
commit
d3c6a66101
@ -1,3 +1,7 @@
|
||||
2006-08-16 Søren Sandmann <ssp@localhost.localdomain>
|
||||
|
||||
* elfparser.c (check_symbol): Pass the correct pointer.
|
||||
|
||||
2006-08-16 Soren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* testelf.c: Really add this file.
|
||||
|
||||
@ -402,7 +402,7 @@ check_symbol (ElfParser *parser,
|
||||
int index,
|
||||
gulong address)
|
||||
{
|
||||
bin_parser_index (parser, index);
|
||||
bin_parser_index (parser->parser, index);
|
||||
|
||||
/* FIXME */
|
||||
|
||||
@ -423,7 +423,7 @@ lookup_function_symbol (ElfParser *parser,
|
||||
|
||||
for (i = 0; i < end - begin; ++i)
|
||||
{
|
||||
bin_parser_index (parser, i);
|
||||
bin_parser_index (parser->parser, i);
|
||||
if (check_symbol (parser, i, address))
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user