This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Freeze in GC_suspend_handler
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