qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Debugging


From: dguinan
Subject: Re: [Qemu-devel] Debugging
Date: Tue, 24 Feb 2004 21:11:49 -0800

Ahh yes, I have corrected that bug. There was an attempt to allocate too much memory - search for valloc() in vl.c and you will see the problem right away. Just make it allocate the desired amount of physical_ram (remove the multiplier times blocksize).

-Daniel


On Feb 24, 2004, at 7:47 PM, Tom Musgrove wrote:

Hi,

I have some questions on debugging - here is exactly what I'm doing, might be of use to other newbies with gdb

# cd qemu
# gdb i386-softmmu/qemu
# break main
# run  /Users/tom/Desktop/linux.img -d
# step

okay, I keep stepping

I get to line 981 setvbuf(logfile,NULL, _IOLBF, 0);

Then after the next step, it prints out tlb_flush:

with a ton of apparently memorry addresses and such (I'll include as attachments runs from both freedos.img and linux.img).

then finally it prints

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00020b28 in cpu_x86_exec (env1=0x1f) at /Users/tom/darwine/related/qemu/exec-all.h:284
284         if (!tb->jmp_next[n]) {

any further attempts to step repeat the above message

This is off of the Darwin porting branch set up by Pierre.

Tom M.

_________________________________________________________________
Say “good-bye” to spam, viruses and pop-ups with MSN Premium -- free trial offer! http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/ <freedos debug.txt><linux debug.txt>_______________________________________________
Qemu-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/qemu-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]