[PATCH RESEND] gdb/sparc: implement PRSTATUS elf32-sparc handler

Project / Subsystem

binutils / gdb/sparc

Date

2026-09-16

Proposer

Michal Lach <michal.lach@phoenix-rtos.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Improves GDB's ability to interpret SPARC ELF32 coredumps by adding specific parsing logic, with minimal impact on other architectures.

All attributes

project
binutils
subsystem
gdb/sparc
patch_id
—
discussion_id
20260916151415.386814-1-michal.lach@phoenix-rtos.com
source_type
public_inbox
title
[PATCH RESEND] gdb/sparc: implement PRSTATUS elf32-sparc handler
headline
gdb/sparc: implement PRSTATUS elf32-sparc handler
tldr
Patch adds a handler for the PRSTATUS note in SPARC ELF32 coredumps to GDB.
proposer
Michal Lach <michal.lach@phoenix-rtos.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Improves GDB's ability to interpret SPARC ELF32 coredumps by adding specific parsing logic, with minimal impact on other architectures.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • gdb
  • • binutils
  • • sparc
  • • coredump
  • • elf
bugzilla_url
—
date
2026-09-16T00:00:00.000Z

[PATCH RESEND] gdb/sparc: implement PRSTATUS elf32-sparc handler

This patch resend addresses an issue in GDB where SPARC ELF32 coredumps contain unparsed PRSTATUS notes, leading to incorrect core dump interpretations. It introduces a handler for the PRSTATUS note within the BFD library’s elf32-sparc.c file, enabling GDB to correctly parse these notes and improve core dump analysis.