Re: Assertion `idx >= 0 && idx < num_fields ()' failed.

Simon Marchi via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 11/24/23 11:30, Tom Tromey wrote:
>> I'm using the latest version:
>> ```
>> $ gdb --version
>> GNU gdb (GDB) 13.2
>> [...]
>> ```
> 
> I suspect this is https://sourceware.org/bugzilla/show_bug.cgi?id=29735
> which I believe is fixed for gdb 14.
> 
> Tom

You're right, I was able to reproduce and just finished bisecting it.

The other crash mentionned, when using tab-completion, is also fixed,
by this commit:

https://gitlab.com/gnutools/binutils-gdb/-/commit/6e7eef72164c00d6a5a7b0bce9fa01f5481f33cb

Simon
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.