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


>>>>> "Chris" == Chris Moller <cmoller@redhat.com> writes:

Chris> The simple fix is to always print both the symbolic name and the
Chris> decimal value:

>> (gdb) p e
>> $1 = Val1 (= 56)
>> (gdb) p Val1
>> $2 = Val1 (= 56)
>> (gdb)

Chris> That's a one-line change in c-valprint.c.  Trying to differentiate
Chris> between those two cases looks like it would be significantly more
Chris> difficult.

Chris> Would the one-line change do?  Or does the fix need to do exactly
Chris> what the request says?

The one-line fix is fine.

Tom


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