mips module debug error...
"Jungsoo Sohn" <[email protected]> Mon, 12 May 2003 11:35:15 +0900
| Newsgroups | gmane.comp.gdb.bugs.general |
|---|---|
| Message-ID | <009501c3182f$1f1b7ad0$2119ded2@orgio> |
I want to remote Module debugging but when i load my module and access the module by application, host machine : i386, redhat 7.3 , gdb: 5.3 target machine : mips, hardhat-2.4.18 ./configure --host=i386-redhat-linux-gun --target=mipsel-linux-elf error occurred: (gdb) add-symbol-file dvr.o 0xc000d060\ -s .reginfo 0xc000d350\ -s .rodata 0xc000d370\ -s .data 0xc000d620\ -s .bss 0xc000d670 add symbol table from file "dvr.o" at .text_addr = 0xc000d060 .reginfo_addr = 0xc000d350 .rodata_addr = 0xc000d370 .data_addr = 0xc000d620 .bss_addr = 0xc000d670 (gdb) b dvr_rw_dev Breakpoint 3 at 0xc000d30c (gdb) c (gdb) c write! Program received signal SIGTRAP, Trace/breakpoint trap. 0xffffffffc000d30c in ?? () (gdb) '0xffffffffc000d30c in ?? ()' what is this? what's problem? I was geted addresses by "insmod -m dvr.o" as fallowed Sections: Size Address Align .this 00000060 c000d000 2**2 .text 000002f0 c000d060 2**4 .reginfo 00000018 c000d350 2**2 .rodata 00000150 c000d370 2**4 .kstrtab 000000ea c000d4c0 2**0 __ksymtab 00000070 c000d5ac 2**2 __archdata 00000000 c000d620 2**4 .data 00000050 c000d620 2**4 .bss 00000004 c000d670 2**4 and 'Ctrl+c' is not successful... --> do you know this problem.. Thanks JungSoo Sohn. _______________________________________________ Bug-gdb mailing list [email protected] http://mail.gnu.org/mailman/listinfo/bug-gdb