On Thu, Nov 07, 2024 at 11:23:08PM -0500, George Koehler wrote:
> On Thu, 07 Nov 2024 17:50:05 +0100
> Pascal Stumpf <pas...@stumpf.co> wrote:
> 
> > Thank you for picking this up.  I will be testing on arm64, powerpc, arm
> > and hppa.
> 
> On powerpc, I need to remove patch-bfd_coff-rs6000_c; this obsolete
> patch broke the build by adding #include "bfd_stdint.h", but the .h
> doesn't exist.  After removing the patch, I installed gdb-13.2 and it
> works with my simple SIGSEGV example.
> 
> On Thu, 7 Nov 2024 17:28:50 +0100
> Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote:
> 
> > There's a good chance that the blind fixes I have added for arm64 and
> > powerpc64 are not enough.
> 
> C++ exceptions are broken on powerpc64, and this caused gdb to crash
> often in libc++abi.  I edited libc++abi in my powerpc64, but didn't
> share my diff; I might have the only OpenBSD/powerpc64 with working
> C++ exceptions.  If someone wants the diff, mail me.

I'd love you/us to find a solution about this.  From my dim memories
the tl;dr was that powerpc64 wasn't ready for xonly. :-|

> To build gdb-13.2, I needed to remove patch-bfd_coff-rs6000_c

Done.

> and
> edit patch-gdb_ppc64-obsd-tdep_c; I have attached my edited patch.
> Now gdb-13.2 builds on powerpc64 and begins to run but does nothing
> useful, as it can neither load core dumps ("Core file format not
> supported") nor run programs ("Don't know how to run.").  I will try
> to add the missing features in the next few days.
> --gkoehler

Thanks a lot for your feedback!  Obvious question: is that a
regression wrt gdb-9.2?

> Index: gdb/ppc64-obsd-tdep.c
> --- gdb/ppc64-obsd-tdep.c.orig
> +++ gdb/ppc64-obsd-tdep.c

Added to my wip directory, thanks.

-- 
jca

Reply via email to