Skip to content

Commit

Permalink
Change to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Oct 16, 2023
1 parent 038b421 commit 10235da
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import java.io.IOException;
import java.nio.ByteBuffer;

import static java.lang.String.format;
import static java.nio.ByteBuffer.allocate;
import static java.nio.ByteOrder.LITTLE_ENDIAN;
import static org.slf4j.LoggerFactory.getLogger;
Expand Down Expand Up @@ -183,8 +184,9 @@ protected void loadCore(CoreLocation xyp) throws IOException,
pointerTable.putInt(regionInfo.pointer.address);
if (regionInfo.content != null) {
log.info("Region {} address {} size {}, next {}", region,
regionInfo.pointer.address,
regionInfo.content.remaining(), nextAddress);
regionInfo.pointer,
regionInfo.content.remaining(),
format("%#010x", nextAddress));

// If the next region doesn't start where the last one
// ended, send the regions gathered
Expand Down

0 comments on commit 10235da

Please sign in to comment.