Re: Semantics of .gdb_index section

Jan Kratochvil <[email protected]> Sat, 21 Dec 2019 11:22:36 +0100
Newsgroups gmane.comp.gdb.devel,gmane.comp.gdb.general
Message-ID <[email protected]>
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 go=
ld?
You can try to regenerate it by GDB:
	objcopy -R .gdb_index YOURFILE
	./gdb/contrib/gdb-add-index.sh YOURFILE


Jan