loading core symbols for debugging purpose
Christian Helmuth
christian.helmuth at genode-labs.com
Tue Aug 7 17:28:59 CEST 2018
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
More information about the users
mailing list