mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-03-23 05:31:28 +00:00
*** empty log message ***
This commit is contained in:
@ -394,6 +394,8 @@ bin_file_lookup_symbol (BinFile *bf,
|
||||
|
||||
data = bf->symbols;
|
||||
|
||||
g_print ("looking up %p in %s ", address, bf->filename);
|
||||
|
||||
if (address < data[last].address)
|
||||
{
|
||||
/* Invariant: data[first].addr <= val < data[last].addr */
|
||||
@ -416,6 +418,8 @@ bin_file_lookup_symbol (BinFile *bf,
|
||||
result = &data[last];
|
||||
}
|
||||
|
||||
g_print ("-> %s\n", result->name);
|
||||
|
||||
/* If the name is "call_gmon_start", the file probably doesn't
|
||||
* have any other symbols
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user