Freeze in GC_suspend_handler

Daniel Bonniot Daniel.Bonniot@inria.fr
Thu Jun 13 08:07:00 GMT 2002


>You have to use GCJFLAGS to affect the gcj invocations. 
>In my case, I wanted to debug boehm.cc. Or will we need to debug java 
source files too?
>Do you know
>where this should be documented?
>What about:
http://gcc.gnu.org/java/build-snapshot.html
>Daniel> (gdb) print *field
>Daniel> 1ドル = {name = 0x8294e40, type = 0x826a640, flags = 8, bsize = 0, u = {
>Daniel> boffset = 0, addr = 0x0}}
>>Ok. This is weird because `addr' is 0 and the field is marked as
>being resolved. I don't think this should be possible. What is the
>name of the field here?
>(gdb) print field->name
2ドル = (_Jv_Utf8Const *) 0x8294e40
Is there an easy way to print this type?
(gdb) print *(field->name)
4ドル = {hash = 41570, length = 7, data = "s"}
(gdb) print field->name->data[0]
10ドル = 115 's'
(gdb) print field->name->data[1]
11ドル = 116 't'
(gdb) print field->name->data[2]
12ドル = 114 'r'
(gdb) print field->name->data[3]
13ドル = 105 'i'
(gdb) print field->name->data[4]
14ドル = 110 'n'
(gdb) print field->name->data[5]
15ドル = 103 'g'
(gdb) print field->name->data[6]
16ドル = 83 'S'
(gdb) print field->name->data[7]
17ドル = 0 '0円'
Daniel


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /