Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(59)

Issue 5097046: code review 5097046: runtime: gdb support: gracefully handle not being able ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by lvd
Modified:
13 years, 5 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

runtime: gdb support: gracefully handle not being able to find types The Dwarf info has the full typenames, the go *struct runtime.commonType has the short name. A more permanent fix would link the two together but this way the user gets useable stack traces for now.

Patch Set 1 #

Patch Set 2 : diff -r b9195358cc18 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r b9195358cc18 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 086dc976137c https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -4 lines) Patch
M src/pkg/runtime/runtime-gdb.py View 1 3 chunks +27 lines, -4 lines 0 comments Download

Messages

Total messages: 3
lvd
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2011-09-22 11:42:07 UTC) #1
rsc
LGTM I was just thinking we needed more Python in this project.
13 years, 5 months ago (2011-09-23 02:26:39 UTC) #2
lvd
13 years, 5 months ago (2011-09-23 08:28:05 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=f2dcf06a2380 ***

runtime: gdb support: gracefully handle not being able to find types

The Dwarf info has the full typenames, the go *struct runtime.commonType
has the short name.  A more permanent fix would link the two together
but this way the user gets useable stack traces for now.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5097046
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b