public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* GCJ vs GDB
@ 2003-05-06 15:06 Alain Magloire
  2003-06-06 21:30 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Alain Magloire @ 2003-05-06 15:06 UTC (permalink / raw)
  To: gdb

Bonjour

  Is this the right mailing list ?

When debugging java code compiled with gcj

java.lang.String value = "hello world";


(gdb) p value
0x11111 "hello world"


Doing this with GDB/MI

-data-evaluate-expression value

or the var object

-var-evaluate-expression var1


the answer is "0x1111" whithout the "hello world"


Is this PR material ? known behaviour ?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GCJ vs GDB
  2003-05-06 15:06 GCJ vs GDB Alain Magloire
@ 2003-06-06 21:30 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2003-06-06 21:30 UTC (permalink / raw)
  To: Alain Magloire; +Cc: gdb

> Bonjour
> 
>   Is this the right mailing list ?
> 
> When debugging java code compiled with gcj
> 
> java.lang.String value = "hello world";
> 
> 
> (gdb) p value
> 0x11111 "hello world"
> 
> 
> Doing this with GDB/MI
> 
> -data-evaluate-expression value
> 
> or the var object
> 
> -var-evaluate-expression var1
> 
> 
> the answer is "0x1111" whithout the "hello world"
> 
> 
> Is this PR material ? known behaviour ?

Yes.  No.  (and weird)!

Andrew


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-06 21:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06 15:06 GCJ vs GDB Alain Magloire
2003-06-06 21:30 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).