Re: [pok-devel] GDB+POK

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


As say by Pierre that works with the pok_partitions[x].base_addr address.

Thanks a lot!
Matias

----- Mail original -----
> De: "Laurent Lec" <lec.laurent@xxxxxxxxx>
> À: pok-devel@xxxxxxxxxxxxxxxxxxx
> Envoyé: Lundi 30 Janvier 2012 11:44:39
> Objet: Re: [pok-devel] GDB+POK
>
> 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/