From e16af9c7309dcd3ad31deae340d7749f3c2957de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Thu, 4 Nov 2004 15:23:41 +0000 Subject: [PATCH] *** empty log message *** --- binfile.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/binfile.c b/binfile.c index 258f8de2..6a1c8e0f 100644 --- a/binfile.c +++ b/binfile.c @@ -317,7 +317,7 @@ read_symbols (BinFile *bf) symbols = g_array_new (FALSE, FALSE, sizeof (Symbol)); -/* g_print ("%s: text vma: %x\n", bf->filename, text_section->vma); */ +/* g_print ("%s: text vma: %x\n", bf->filename, text_section->vma); */ for (i = 0; i < n_symbols; i++) { @@ -393,6 +393,8 @@ bin_file_lookup_symbol (BinFile *bf, return &(bf->undefined); data = bf->symbols; + + g_print ("looking up %p in %s ", address, bf->filename); if (address < data[last].address) { @@ -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 */