Re: problem when debug glib source code with gdb
- From: jcupitt gmail com
- To: 落痕 <losemyheaven qq com>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: problem when debug glib source code with gdb
- Date: Mon, 23 Nov 2015 18:27:44 +0000
Dear friend, Recently I am curious about how glib works, so I want to
debug its source code with gdb. But I got stuck...
These are steps I followed, after the source code is downloaded:
1) ./configure --enable-debug=yes
The --enable-debug switch turns on some internal tests, but it doesn't
make the compiler add debugging information.
Try:
CFLAGS=-g ./configure --enable-debug=yes
make
make install
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]