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

Project / Subsystem

binutils / gdb/sparc

Date

2026-09-16

Proposer

"Jose E. Marchesi" <jemarch@gnu.org>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Improves core dump analysis for SPARC ELF32 on GDB.
  • • Adds specific handling for a particular NOTE type, increasing code complexity.

All attributes

project
binutils
subsystem
gdb/sparc
patch_id
—
discussion_id
874ifpdvuy.fsf@gnu.org
source_type
public_inbox
title
Re: [PATCH RESEND] gdb/sparc: implement PRSTATUS elf32-sparc handler
headline
gdb/sparc: implement PRSTATUS elf32-sparc handler
tldr
Adds a handler for SPARC ELF32 PRSTATUS notes in GDB to correctly parse core dumps.
proposer
"Jose E. Marchesi" <jemarch@gnu.org>
consensus
Proposed
outcome
committed
sentiment_score
—
technical_tradeoffs
  • • Improves core dump analysis for SPARC ELF32 on GDB.
  • • Adds specific handling for a particular NOTE type, increasing code complexity.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • GDB
  • • SPARC
  • • ELF
  • • core dump
  • • debugging
bugzilla_url
—
date
2026-09-16T00:00:00.000Z

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

This patch introduces a handler in GDB for the PRSTATUS NOTE section found in SPARC ELF32 core dumps. Previously, these notes were unparsed, leading to incorrect core dump analysis. The new handler extracts signal and process ID information, and defines a pseudo-section for register data, improving core dump interpretation for this architecture.