uaa@rouge:~/utk/utkernel_source/kernel/sysmain/build/app_h8s2212$ ls Dependencies kernel-ram.map kernel-rom.mot* tstdlib_bitsearch1.o Makefile* kernel-ram.mot* kernel-rom.rom* tstdlib_bitset.o icrt0.o kernel-ram.sys* libtstdlib.a typescript inittask_main.o kernel-rom.lnk* power.o usermain.o kernel-ram.lnk* kernel-rom.map tstdlib_bitclr.o uaa@rouge:~/utk/utkernel_source/kernel/sysmain/build/app_h8s2212$ uaa@rouge:~/utk/utkernel_source/kernel/sysmain/build/app_h8s2212$ h8300-elf-gdb kernel-rom.rom GNU gdb 6.7 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=h8300-elf"... (gdb) target sim Connected to the simulator. (gdb) load Loading section .text, size 0x39f0 vma 0x0 Loading section .data, size 0x40 vma 0xf780 Start address 0x0 Transfer rate: 119168 bits in <1 sec. (gdb) b __reset Breakpoint 1 at 0x0 (gdb) b _start Breakpoint 2 at 0x204 (gdb) run Starting program: /home/uaa/utk/utkernel_source/kernel/sysmain/build/app_h8s2212/kernel-rom.rom Breakpoint 1, 0x00000000 in __reset () (gdb) jump _start Continuing at 0x204. Breakpoint 2, 0x00000204 in _start () (gdb) n Single stepping until exit from function _start, which has no line number information. 0x0000021c in data_loop () (gdb) n Single stepping until exit from function data_loop, which has no line number information. 0x0000022e in data_done () (gdb) n Single stepping until exit from function data_done, which has no line number information. 0x0000023c in bss_loop () (gdb) info reg r0 0x0000 0 r1 0x3a30 14896 r2 0xfa16 64022 r3 0xfa28 64040 r4 0x0000 0 r5 0x0000 0 r6 0x0000 0 sp 0x0000 0 ccr 0x00 0 I-0 UI-0 H-0 U-0 N-0 Z-0 V-0 C-0 u> u>= != >= > pc 0x023c 572 cycles 0x01b2 434 tick 0x005f 95 inst 0x0000 0 (gdb)