From 55394640b098ba572c6b3e82369b082b80190b24 Mon Sep 17 00:00:00 2001 From: Corwin Date: Thu, 18 Apr 2024 19:10:39 +0100 Subject: [PATCH] correct inline logic --- agb-debug/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agb-debug/src/lib.rs b/agb-debug/src/lib.rs index e353a0ca..5c2c69e2 100644 --- a/agb-debug/src/lib.rs +++ b/agb-debug/src/lib.rs @@ -1,7 +1,7 @@ mod gwilym_encoding; mod load_dwarf; -use addr2line::gimli::{self, EndianReader}; +use addr2line::gimli; pub use gwilym_encoding::{gwilym_decode, GwilymDecodeError}; pub use load_dwarf::{load_dwarf, GimliDwarf, LoadDwarfError}; use thiserror::Error; @@ -71,7 +71,7 @@ pub fn address_info( infos.push(AddressInfo { location, is_interesting, - is_inline: is_first, + is_inline: !is_first, function: function_name, }); is_first = false;