Re: Semantics of .gdb_index section

Jan Kratochvil <[email protected]>
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 gold?
You can try to regenerate it by GDB:
	objcopy -R .gdb_index YOURFILE
	./gdb/contrib/gdb-add-index.sh YOURFILE


Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.