Re: [pok-devel] GDB+POK

[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]


On Mon, Jan 30, 2012 at 11:32 AM, Pierre Ficheux
<pierre.ficheux@xxxxxxxxxxx> wrote:
> Thx for this. We were close to the solution (add-symbol-file) but with
> wrong address !

What is tricky, is the add-symbol-file + symbol-file hack.

The first one is needed to correctly place the breakpoint.

Problem is, when the context is switched to the correct partition,
adresses have changed. You therefore need to reload the same
symbol-file without any offset to correctly resolve symbols.

Glad that helped you. ;)

-- 
Laurent Lec



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/