Commit c78d67fb authored by Ian Lance Taylor's avatar Ian Lance Taylor

debug/dwarf: report the value of an unrecognized attribute format

R=golang-dev, r, minux.ma
CC=golang-dev
https://golang.org/cl/14669045
parent 89ebc28b
......@@ -10,7 +10,10 @@
package dwarf
import "errors"
import (
"errors"
"strconv"
)
// a single entry's description: a sequence of attributes
type abbrev struct {
......@@ -152,7 +155,7 @@ func (b *buf) entry(atab abbrevTable, ubase Offset) *Entry {
var val interface{}
switch fmt {
default:
b.error("unknown entry attr format")
b.error("unknown entry attr format 0x" + strconv.FormatInt(int64(fmt), 16))
// address
case formAddr:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment