qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH] i386 debugging stubs: Consider segment base


From: Eddie Kohler
Subject: Re: [Qemu-devel] Re: [PATCH] i386 debugging stubs: Consider segment bases
Date: Sun, 26 Sep 2010 10:19:29 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4

OK, thanks.  I understand how you're relying on the current behavior.

I'd rather not change all of QEMU and GDB in one step, but I'd like to address this. QEMU documentation implies, and new users expect, that debugging uses virtual addresses, not the segmentation-specific "linear addresses" that are actually used now.

- How about a maintenance packet type that changed behavior to what I would prefer (breakpoints and memory access use virtual addresses, not linear addresses)?

- We could add a "segment identifier" parameter to cpu_get_phys_page_debug, ignored on all targets but i386 at first. Then we could pass information through to cpu_get_phys_page_debug about what kind of address is being translated. This change could be propagated to cpu_memory_rw_debug (now or later). Would you object?

Eddie



reply via email to

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