This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

c++/2475: printing negative values of constant values (with value 128-255)


>Number:         2475
>Category:       c++
>Synopsis:       printing negative values of constant values (with value 128-255)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 09 17:58:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     matszpk@interia.pl
>Release:        gdb-6.8
>Organization:
>Environment:
Gentoo Linux 2008.0 AMD64 
>Description:
when defined const value such as:
const int a=128;
gdb print value:
-128 instead 128 when
enter command "p a".
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="test.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.cc"

I2luY2x1ZGUgPGlvc3RyZWFtPgpjb25zdCBpbnQgYSA9IDEyOTsKaW50Cm1haW4gKCkKewogIHN0
ZDo6Y291dCA8PCBhIDw8IHN0ZDo6ZW5kbDsKICByZXR1cm4gMDsKfQo=


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