[Top][All Lists]

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

Re: ignore information from included with -dV

From: Eric Blake
Subject: Re: ignore information from included with -dV
Date: Mon, 26 Nov 2018 11:32:17 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

On 11/25/18 5:19 AM, Peng Yu wrote:

The -dV option shows information from files included by include(). Is
there a way to show the debug info only for the current file but not
the included files? Thanks.

The 'debugmode' macro should be able to control anything that the command line -d argument can control. Thus, your solution is to define a wrapper around the 'include' macro which temporarily turns off debugging, includes the file, then reinstates debugging.

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

reply via email to

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