Changeset 824553ed in mainline
- Timestamp:
- 2005-09-04T23:18:16Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ae9624e
- Parents:
- db64c093
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/requirements
rdb64c093 r824553ed 12 12 o Bochs 2.0.2 - Bochs 2.2 13 13 o 2x-8x 686 CPU 14 o Simics 2.0.28 - Simics 2.2.1 415 o 2x- 4x Pentium 4 CPU14 o Simics 2.0.28 - Simics 2.2.19 15 o 2x-8x Pentium 4 CPU 16 16 o ASUS P/I-P65UP5 + ASUS C-P55T2D REV. 1.41 17 17 o 2x 200Mhz Pentium CPU -
include/symtab.h
rdb64c093 r824553ed 35 35 36 36 struct symtab_entry { 37 __u64 address ;37 __u64 address_le; 38 38 char symbol_name[MAX_SYMBOL_NAME]; 39 39 }; -
src/debug/symtab.c
rdb64c093 r824553ed 30 30 #include <symtab.h> 31 31 #include <typedefs.h> 32 #include <arch/byteorder.h> 32 33 33 34 /** Return entry that seems most likely to correspond to the @addr … … 38 39 count_t i; 39 40 40 for (i=1;symbol_table[i].address ;++i) {41 if (addr < symbol_table[i].address)41 for (i=1;symbol_table[i].address_le;++i) { 42 if (addr < native_le2host(symbol_table[i].address_le)) 42 43 break; 43 44 } 44 if (addr >= symbol_table[i-1].address)45 if (addr >= native_le2host(symbol_table[i-1].address_le)) 45 46 return symbol_table[i-1].symbol_name; 46 47 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.