Load other .text section with gdb
Hi Pascale,
please find the log related to the section loading with -d3 option
515,617 &”load C:\\projects\\project_L4\\Debug\\project_L4.elf \n”
515,617 ~”Loading section .ram2_bss, size 0x7ef4 lma 0x10000000\n”
515,617 19+download,{section=”.ram2_bss”,section-size=”32500”,total-size=”2646205”}
515,617 19+download,{section=”.ram2_bss”,section-sent=”4096”,section-size=”32500”,total-sent=”4096”,\
total-size=”2646205”}
515,914 20-list-thread-groups i1
516,320 19+download,{section=”.ram2_bss”,section-sent=”16384”,section-size=”32500”,total-sent=”16384\
“,total-size=”2646205”}
517,007 19+download,{section=”.ram2_bss”,section-sent=”28672”,section-size=”32500”,total-sent=”28672\
“,total-size=”2646205”}
522,414 ~”Loading section .isr_vector, size 0x188 lma 0x8000000\n”
522,429 19+download,{section=”.isr_vector”,section-size=”392”,total-size=”2646205”}
522,429 ~”Loading section .rodata, size 0x27e0 lma 0x8000188\n”
522,429 19+download,{section=”.rodata”,section-size=”10208”,total-size=”2646205”}
522,429 ~”Loading section .ARM, size 0x8 lma 0x8002968\n”
522,429 19+download,{section=”.ARM”,section-size=”8”,total-size=”2646205”}
522,429 ~”Loading section .init_array, size 0x8 lma 0x8002970\n”
522,429 19+download,{section=”.init_array”,section-size=”8”,total-size=”2646205”}
522,429 ~”Loading section .fini_array, size 0x8 lma 0x8002978\n”
522,429 19+download,{section=”.fini_array”,section-size=”8”,total-size=”2646205”}
522,429 ~”Loading section .data, size 0x8e0 lma 0x8002980\n”
522,429 19+download,{section=”.data”,section-size=”2272”,total-size=”2646205”}
522,429 ~”Loading section .text, size 0x2e0c0 lma 0x8003260\n”
522,429 19+download,{section=”.text”,section-size=”188608”,total-size=”2646205”}
522,429 ~”Loading section .jtable_xxxxx_api, size 0x60 lma 0x8077c00\n”
522,429 19+download,{section=”.jtable_xxxx_api”,section-size=”96”,total-size=”2646205”}
522,429 ~”Loading section .jtable_xxx_api, size 0x150 lma 0x8078000\n”
522,429 19+download,{section=”.jtable_xxx_api”,section-size=”336”,total-size=”2646205”}
529,367 ~”Start address 0x80045b0, load size 234436\n”
529,367 ~”Transfer rate: 16 KB/sec, 8372 bytes/write.\n”
529,367 19^done
jtable_xxxx_api and jtable_xxx_api are my two jump tables.
So no additional error appeared.
Were you able to reproduce the issue ?
I read in the gdb doc that a configuration file should be somewhere to select which sections must be loaded, but can’t find it ...
Thanks for your help,
Best Regards
Sylvain