Ok, I'll have to add it myself. Right now I'm just objdumping the symbol
into a file then using SymbolTable::load() to populate the table. I don't
want only my binary's code either, so I don't care if other code is at the
address, I just want to be able to be able to see that code as well as my
binary's code. Right now I can only see kernel code.

Thanks,
Tony

On Wed, Sep 19, 2012 at 3:17 PM, Ali Saidi <sa...@umich.edu> wrote:

> **
>
> On 19.09.2012 14:30, Anthony Gutierrez wrote:
>
> I am trying to add debug symbol information for the benchmark I am
> running. I can see where the the debug symbol information is added from the
> kernel binary itself, but is there a built-in way to pass a file with the
> symbol table information for my binary into gem5?
>
> The trouble with user binaries is that they're not always running and
> other code can live at the same address. There is a add_symbol m5op that
> can be useful for this, but you'll need to do something else to make sure
> that you only look for those symbols when your benchmark is actually
> running.
>
> Or, do I need to manually add my symbol table information to the
> debugSymboltable? I see that some benchmarks include symbol table
> information in the configs/boot dir so I assuming it's been done in the
> past.
>
> I have no idea what those things are going.
> Ali
>
> Thanks,
> Tony
>
>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to