Re: gdb-9.1 Fails to build: "invalid cast to abstract class type"

Joel Brobecker
2020-05-23T16:29:31Z

> This has been fixed by this commit:
>
> https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c6a42d11acf2d485bf70d76eda76fd005fcd6825
>
> So if you use the master branch, you shouldn't see this error.
>
> GDB 9.2 (the bugfix release of 9.1) will be out soon, we could probably
> cherry-pick that commit in that branch if that helps you.

Thanks for the pointer, Simon. Looking at the patch, it looked obvious
to me, so I created a PR for it, and then cherry-picked it in the
gdb-9-branch.

https://sourceware.org/bugzilla/show_bug.cgi?id=26029

--
Joel