public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "rincebrain at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug threads/28014] gdb coredumps when remote+kgdbing a system that OOMs too hard Date: Sat, 26 Jun 2021 10:55:11 +0000 [thread overview] Message-ID: <bug-28014-4717-gvXFdhIanG@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-28014-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=28014 --- Comment #6 from Rich <rincebrain at gmail dot com> --- (In reply to Simon Marchi from comment #5) > It dug a little bit. I checked why GDB couldn't see any shared library, I > think there's a little bug in the MIPS-specific code where GDB uses a > MIPS-specific auxv entry to locate the base of the runtime loader. It > doesn't take into account the main executable's runtime address. Lovely. > To get further, we would need libc's debug info. I tried to find debug info > for libc.so.6 but can't find it. It's supposed to be in the libc6 package, > which I think should be found here: > > http://debug.mirrors.debian.org/debian-debug/pool/main/g/glibc/ > > But I can't find the debug package corresponding to > libc6_2.31-12_mips64el.deb. The libc's build-id is > 59aa6ff984aff00883acda7feef7613cce475991, I can't find that in any of the > packages. Do you have an idea? I think you're getting burned because glibc is one of the ones that (for legacy reasons, now that $RELEASE-debug is a thing? I'm unsure.) gets shoved in a -dbg package in the main repos. gdb finds those symbols and loads them for me, even as everything else horfs; I haven't tried recompiling gdb with that patch, though. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2021-06-26 10:55 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-25 23:43 [Bug threads/28014] New: " rincebrain at gmail dot com 2021-06-26 1:20 ` [Bug threads/28014] " simark at simark dot ca 2021-06-26 2:15 ` rincebrain at gmail dot com 2021-06-26 2:29 ` simark at simark dot ca 2021-06-26 2:41 ` rincebrain at gmail dot com 2021-06-26 4:27 ` simark at simark dot ca 2021-06-26 10:55 ` rincebrain at gmail dot com [this message] 2021-06-26 13:04 ` simark at simark dot ca 2021-06-27 5:27 ` simark at simark dot ca 2021-06-27 12:24 ` rincebrain at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-28014-4717-gvXFdhIanG@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).