Semantics of .gdb_index section

Jan Kratochvil jan.kratochvil@redhat.com
Sat Dec 21 10:24:00 GMT 2019


On Sat, 21 Dec 2019 05:00:42 +0100, Ali Tamur via gdb wrote:
> I am trying to understand whether this is a shortcoming of gdb, or
> whether my .gdb_index section is hopelessly
> corrupted. Can gdb_index address ranges contain such overlapping address
> pairs?

I do not think so but is your .gdb_index generated by GDB? Isn't it from gold?
You can try to regenerate it by GDB:
	objcopy -R .gdb_index YOURFILE
	./gdb/contrib/gdb-add-index.sh YOURFILE


Jan



More information about the Gdb mailing list