This is the mail archive of the gdb-prs@sources.redhat.com 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]

java/1075: "p string" doesn't work with java code


>Number:         1075
>Category:       java
>Synopsis:       "p string" doesn't work with java code
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 19 23:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tom Tromey
>Release:        current cvs trunk
>Organization:
>Environment:

>Description:
With the current gdb, printing a Java String value
doesn't show the contents of the string.  This is
supposed to work.

The attached patch fixes this for me.  However, this
patch is unsuitable for checkin without more information
(which I don't have).  See this thread:

http://sources.redhat.com/ml/gdb-patches/2002-04/msg00806.html

The reply is in the next month:

http://sources.redhat.com/ml/gdb-patches/2002-05/msg00221.html
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="gdb-java-string-patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gdb-java-string-patch"

SW5kZXg6IGp2LXZhbHByaW50LmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2cy9zcmMvc3JjL2dk
Yi9qdi12YWxwcmludC5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjkKZGlmZiAtdSAtcjEuOSBq
di12YWxwcmludC5jCi0tLSBqdi12YWxwcmludC5jIDIxIE9jdCAyMDAxIDAxOjU3OjQyIC0wMDAw
IDEuOQorKysganYtdmFscHJpbnQuYyA5IE1heSAyMDAyIDE4OjEzOjEyIC0wMDAwCkBAIC0xOTgs
OCArMTk4LDkgQEAKIAogICBpZiAoVFlQRV9DT0RFICh0eXBlKSA9PSBUWVBFX0NPREVfUFRSCiAg
ICAgICAmJiBUWVBFX1RBUkdFVF9UWVBFICh0eXBlKQotICAgICAgJiYgVFlQRV9OQU1FIChUWVBF
X1RBUkdFVF9UWVBFICh0eXBlKSkKLSAgICAgICYmIHN0cmNtcCAoVFlQRV9OQU1FIChUWVBFX1RB
UkdFVF9UWVBFICh0eXBlKSksICJqYXZhLmxhbmcuU3RyaW5nIikgPT0gMAorICAgICAgJiYgVFlQ
RV9UQUdfTkFNRSAoVFlQRV9UQVJHRVRfVFlQRSAodHlwZSkpCisgICAgICAmJiBzdHJjbXAgKFRZ
UEVfVEFHX05BTUUgKFRZUEVfVEFSR0VUX1RZUEUgKHR5cGUpKSwKKwkJICJqYXZhLmxhbmcuU3Ry
aW5nIikgPT0gMAogICAgICAgJiYgKGZvcm1hdCA9PSAwIHx8IGZvcm1hdCA9PSAncycpCiAgICAg
ICAmJiBhZGRyZXNzICE9IDAKICAgICAgICYmIHZhbHVlX2FzX2FkZHJlc3MgKHZhbCkgIT0gMCkK


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