loading core symbols for debugging purpose

Parfait Tokponnon parfait.tokponnon at gmail.com
Wed Aug 8 18:10:32 CEST 2018


Nice,
Thanks, Christian,


2018-08-07 17:28 GMT+02:00 Christian Helmuth <
christian.helmuth at genode-labs.com>:

> Hello Parfait,
>
> On Tue, Aug 07, 2018 at 03:33:31PM +0200, Parfait Tokponnon wrote:
> > My goal is to set breakpoint at some instruction address in the core
> > process to trace its execution. To achieve this, I use this command in
> gdb.
> > *add-symbol-file <filename> <load address>*
> >
> > But I cannot access the core load address.
> >
> > *objdump -h debug/core-nova.o *yields LMA for the .text section :
> > 0x0000000000000000
> > And the ld-nova.lib.so does not help too.
> >
> > Can someone point me, in order to trace the core process execution, at
> > which address to load the core symbols file?
>
>
> How about var/run/<run script>.core? For example,
>
>   build/x86_64> objdump -h var/run/log.core
>
>   var/run/log.core:     file format elf64-x86-64
>
>   Sections:
>   Idx Name          Size      VMA               LMA              File off
> Algn
>     0 .text         00107e88  0000000000100000  0000000000100000 00001000
> 2**5
>
> Greets
> --
> Christian Helmuth
> Genode Labs
>
> https://www.genode-labs.com/ · https://genode.org/
> https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
>
> Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
> Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
>
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users




-- 
Parfait T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20180808/47398431/attachment.html>


More information about the users mailing list