apache / apache/brpc

support gdb_bthread_stack.py in coredump

Open
#2,624 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
gdb coredump中执行'bthread_frame id'报错

**Describe the solution you'd like (描述你期望的解决方法)**
简单修改gdb源码,实现在gdb coredump中gdb_bthread_stack.py的功能全部可用

**Describe alternatives you've considered (描述你想到的折衷方案)**

**Additional context/screenshots (更多上下文/截图)**
默认gdb
image
修改后gdb
image

Contributor guide

Open the contributing guide

Research direction

Start by reading gdb_bthread_stack.py and reproducing the reported 'bthread_frame id' failure in a GDB coredump, then compare the default and modified GDB behavior shown in the issue. Done means the gdb_bthread_stack.py functionality is available in GDB coredump sessions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
devtools, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.