On 22 February 2016 at 15:59, Alex Bennée <[email protected]> wrote: > diff --git a/qemu-options.hx b/qemu-options.hx > index 2f0465e..c7e0486 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -3094,6 +3094,24 @@ STEXI > Output log in @var{logfile} instead of to stderr > ETEXI > > +DEF("dfilter", HAS_ARG, QEMU_OPTION_DFILTER, \ > + "-dfilter range,.. filter debug output to range of addresses (useful > for -d cpu,exec,etc..)\n", > + QEMU_ARCH_ALL) > +STEXI > +@item -dfilter @var{range1}[,...] > +@findex -dfilter > +Filter debug output to that relevant to a range of target addresses. The > filter > +spec can be either @var{start}+@var{size}, @var{start}-@var{size} or > +@var{start}..@var{end} where @var{start} @var{end} and @var{size} are the > +addresses and sizes required. For example: > +@example > + -dfilter > 0x8000..0x9000,0xffffffc000080000+0x200,0xffffffc000060000-0x1000 > +@end example > +Will dump output for any code in the 0x1000 sized block starting at 0x8000 > and
The block defined starting at 0x8000 is 0x1001 in size (unless you want to change it to be "0x8000..0x8fff"). thanks -- PMM
