How to debug wayland?

Kristian Høgsberg krh at bitplanet.net
Fri Nov 5 13:00:46 PDT 2010


On Fri, Nov 5, 2010 at 4:22 AM, Arthur Zhu
<xiaoxiaomuyusajiangtian at gmail.com> wrote:
> Hi, everyone:
>
> configure.ac have -g option for GCC_CFLAGS, but it seems to do nothing.

What's the problem?  gdb works fine for me, but since the change to
automake, you'll need to run it with libtool:

  $ libtool --mode=execute gdb compositor

The X compositor is easy to debug, but if you're trying to track down
a problem in the kms compositor, you'll probably need two laptops.

Kristian


More information about the wayland-devel mailing list