Re: bochs on sparc/solaris

"Stanislav" <[email protected]>
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
Hi,

This sounds like a problem for me ...

Could you help with more info from gdb ?

While running fetchDecode32, could you print the parameters to the function
? Is there a NULL pointer or illegal memory location ?
Also some CPU members: EIP (see macro in cpu.h for details), icount,
pAddrFetchPage, eipFetchPtr.

Thanks,
Stanislav

-----Original Message-----
From: Brad Walker [mailto:[email protected]] 
Sent: Wednesday, December 26, 2012 11:27 PM
To: Volker Ruppert
Cc: [email protected]
Subject: Re: [Bochs-developers] bochs on sparc/solaris

One more thing.. Here is the stack backtrace. I did not compile with
debugging info.

Core was generated by `/opt/tmp/bochs-20121214/bochs -f bochsrc'.
Program terminated with signal 10, Bus error.
#0  0x000000010014376c in FetchWORD(unsigned char const*) ()
(gdb) where
#0  0x000000010014376c in FetchWORD(unsigned char const*) ()
#1  0x0000000100142730 in BX_CPU_C::fetchDecode32(unsigned char const*,
bxInstruction_c*, unsigned int)
    ()
#2  0x000000010014046c in BX_CPU_C::serveICacheMiss(bxICacheEntry_c*,
unsigned int, unsigned long) ()
#3  0x000000010013d934 in BX_CPU_C::getICacheEntry() ()
#4  0x000000010013d604 in BX_CPU_C::cpu_loop() ()
#5  0x0000000100061660 in bx_begin_simulation(int, char**) ()
#6  0x000000010020f84c in bx_real_sim_c::begin_simulation(int, char**) ()
#7  0x000000010021a1d0 in bx_config_interface(int) ()
#8  0x000000010021a798 in bx_config_interface(int) ()
#9  0x000000010021ea1c in ci_callback(void*, ci_command_t) ()
#10 0x000000010020f7e4 in bx_real_sim_c::configuration_interface(char
const*, ci_command_t) ()
#11 0x000000010005f504 in bxmain() ()
#12 0x000000010005f62c in main ()
(gdb)



On Tue, Dec 25, 2012 at 2:53 AM, Volker Ruppert <[email protected]>
wrote:
> Hi!
>
>
> I have no idea what could go wrong here. It seems to crash before the 
> simulation loop begins. The only way to get closer to this issue is to 
> turn on debug messages for all Bochs modules (debug: action=report). 
> Then you could post the last few lines of the log and we can find out 
> the point where Bochs stops working correctly.

----------------------------------------------------------------------------
--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.