Hi Yasumasa, It looks good to me.
The function read_exec_segments is already pretty big and needs a refactoring. The code you are adding deserves to be a separate function, something like read_prog_segm...
Thanks, Serguei On 6/13/19 22:49, Yasumasa Suenaga wrote:
Hi all, Please review this change: JBS: https://bugs.openjdk.java.net/browse/JDK-8225636 webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8225636/webrev.00/ I attempted to open the core which is generated by RHEL 6, but it could not . The OS which generated the core is set to enable prelink. According to GDB implementation, load address of prelinked library should be calculated by offset of link_map.l_ld and the address of .dynamic section. Thanks, Yasumasa