Add missing Debug impls
This commit is contained in:
parent
e8afb395a0
commit
d782b79a1f
@ -2,6 +2,7 @@ use std::fmt::Display;
|
|||||||
|
|
||||||
use crate::SymbolTables;
|
use crate::SymbolTables;
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
pub enum Location {
|
pub enum Location {
|
||||||
Symbol((String, String)),
|
Symbol((String, String)),
|
||||||
Address(u32),
|
Address(u32),
|
||||||
|
@ -39,6 +39,7 @@ use std::{
|
|||||||
process,
|
process,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct SymbolTable {
|
pub struct SymbolTable {
|
||||||
symbols: HashMap<String, Symbol>,
|
symbols: HashMap<String, Symbol>,
|
||||||
breakpoints: Vec<String>,
|
breakpoints: Vec<String>,
|
||||||
|
@ -2,6 +2,7 @@ use std::fmt::Display;
|
|||||||
|
|
||||||
use elf::symbol::Symbol as ElfSymbol;
|
use elf::symbol::Symbol as ElfSymbol;
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct Symbol {
|
pub struct Symbol {
|
||||||
section: u16,
|
section: u16,
|
||||||
value: u32,
|
value: u32,
|
||||||
|
Loading…
Reference in New Issue
Block a user