Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2020 14:12:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 219153] head, stable/11, release/11.0.1: libkvm (& more?) not updated to handle powerpc/powerpc64 ET_DYN based vmcore.* 's and such
Message-ID:  <bug-219153-29464-uu9Mp7hOJ4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219153-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219153-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219153

--- Comment #19 from Leandro Lupori <luporl@FreeBSD.org> ---
(In reply to Mark Millard from comment #18)

> GNU gdb (GDB) 8.3.1 [GDB v8.3.1 for FreeBSD] got:
>
> inferior.c:287: internal-error: struct inferior *find_inferior_pid(int):
> Assertion `pid !=3D 0' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n) y

I was seeing this error before libkvm and gdb were fixed.
On CURRENT, with a recent world and gdb this error should not be seen.
To get all fixes, a base system later than February 7 and a gdb from ports
later than February 27 must be used.

> By contrast, GNU gdb 6.1.1 [FreeBSD] got:

The older gdb from base is known to have many issues, that are probably not
going to be fixed.


> Attempting a non-minidump hung up during
> the dump, much like for powerpc64.

I've worked only on minidumps for powerpc64.
Full dumps were not touched at all, so if they didn't work before, they
probably won't work now.


> I'm not so sure that the current G4
> behavior should be classified with this
> submittal. I'll leave it to you if you
> want this submittal closed in some way.
> Most of the information is probably too
> old to be of much use for going forwards
> as far as old PowerMacs go.

I don't have G4/G5 hardware to test this.
G4s are 32-bit, right? I wouldn't expect minidumps to work on them, as their
kernel and libkvm specific parts would need to be added/fixed.
But minidumps should work on G5, I think, although I wasn't able to test it.

So, maybe mark this as fixed and track minidumps not working on G5 as anoth=
er
issue and minidump support on G4 as an enhancement?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219153-29464-uu9Mp7hOJ4>