Hi Peter,

Thanks. You are correct, I don't know what I was thinking. :-)


On 03/04/2014 08:34 PM, Peter Maydell wrote:
On 4 March 2014 12:09, Xuebing wang <xbi...@gmail.com> wrote:
target-*/gdbstub.c implementers only need to know gdbstub hooks (thus
gdbstub API), they don't care "cpu.h", although knowledge of "cpu.h" helps.
The gdbstub.c code is just a tiny part of the target-* frontend; there
is no way that anybody working on the gdbstub isn't going to know
already about the cpu.h interfaces. In particular, the code in those
files is generally implementing the gdbstub interfaces by looking
at the internal details of the target CPU. The only reason they don't
just include cpu.h is simply that at the moment qemu-common.h
does it for them.

thanks
-- PMM


--
Thanks,
Xuebing Wang


Reply via email to