Add missing Debug impls

This commit is contained in:
pjht 2022-10-18 17:19:02 -05:00
parent e8afb395a0
commit d782b79a1f
3 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ use std::fmt::Display;
use crate::SymbolTables;
#[derive(Debug)]
pub enum Location {
Symbol((String, String)),
Address(u32),

View File

@ -39,6 +39,7 @@ use std::{
process,
};
#[derive(Debug)]
pub struct SymbolTable {
symbols: HashMap<String, Symbol>,
breakpoints: Vec<String>,

View File

@ -2,6 +2,7 @@ use std::fmt::Display;
use elf::symbol::Symbol as ElfSymbol;
#[derive(Debug)]
pub struct Symbol {
section: u16,
value: u32,