Bochs & ldsym problems

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
prayeriz
Posts: 4
Joined: Mon Nov 17, 2008 7:13 am

Bochs & ldsym problems

Post by prayeriz »

Hi everybody

I've got a problem when I try to load a symbol file in bochs.
This file called symbols looks like that :

00200000 multiboot_header
00201000 _start
00201011 loop
00201014 sos_idt_setup
002010c3 sos_idt_set_handler
0020118d sos_idt_get_handler
00201204 sos_gdt_setup
00201238 sos_exceptions_setup
0020125d sos_exception_set_routine
002012f9 sos_exception_get_routine
00201338 sos_exception_wrapper_0
0020137c sos_exception_wrapper_1
002013c0 sos_exception_wrapper_2
...

And then when I run bochs (compiled with de debug option) I've got this

(0) [0xfffffff0] f000:fff0 (unk. ctxt): jmp far f000:e05b ; ea5be000f0
<bochs:1> ldsym "symbols"
<bochs: 2> s
(0) Erreur de segmentation

The fact of loading the file get bochs crashed. I've tried to change some things in my file, and I noticed that when I put only 2 or less lines in the file it works, but when there is more lines bochs crashed.

Can you help me please ?
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Bochs & ldsym problems

Post by stlw »

prayeriz wrote:Hi everybody

I've got a problem when I try to load a symbol file in bochs.
This file called symbols looks like that :

00200000 multiboot_header
00201000 _start
00201011 loop
00201014 sos_idt_setup
002010c3 sos_idt_set_handler
0020118d sos_idt_get_handler
00201204 sos_gdt_setup
00201238 sos_exceptions_setup
0020125d sos_exception_set_routine
002012f9 sos_exception_get_routine
00201338 sos_exception_wrapper_0
0020137c sos_exception_wrapper_1
002013c0 sos_exception_wrapper_2
...

And then when I run bochs (compiled with de debug option) I've got this

(0) [0xfffffff0] f000:fff0 (unk. ctxt): jmp far f000:e05b ; ea5be000f0
<bochs:1> ldsym "symbols"
<bochs: 2> s
(0) Erreur de segmentation

The fact of loading the file get bochs crashed. I've tried to change some things in my file, and I noticed that when I put only 2 or less lines in the file it works, but when there is more lines bochs crashed.

Can you help me please ?
Which Bochs ver are you using ?
Anyway, it any such case open a bug report for Bochs - segfault of the emulator is not code problem :)

P.S> I will check it.

Thanks,
Stanislav
Post Reply