This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 11067


> The simple fix is to always print both the symbolic name and the decimal 
> value:
> 
> > (gdb) p e
> > $1 = Val1 (= 56)
> > (gdb) p Val1
> > $2 = Val1 (= 56)
> > (gdb)

I think it should use a format consistent with p/c, e.g.:

(gdb) p 'a'
$1 = 97 'a'
(gdb) p ENUM1
$2 = (enum frobozz) 1 ENUM1
(gdb)



Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]