Wireshark-dev: Re: [Wireshark-dev] Eclipse project for Wireshark
From: Dietfrid Mali <karx11erx@xxxxxxxxxxx>
Date: Mon, 24 Jan 2011 18:29:23 +0100
Thanks. I tried that, and the files are indeed compiled with -g -O0, but DDD (gdb) doesn't seem to find an program entry point (and complains about bash missing on my openSUSE 11.3 box ???).

> Date: Sat, 22 Jan 2011 09:48:06 -0500
> From: wmeier@xxxxxxxxxxx
> To: wireshark-dev@xxxxxxxxxxxxx
> Subject: Re: [Wireshark-dev] Eclipse project for Wireshark
>
> On 1/22/2011 4:14 AM, Dietfrid Mali wrote:
> >
> > I thought of having to add something like "--enable_debug=yes" or
> > "--with_debugging" to the configure call so that the make file being
> > built will call the compiler with options to make it create
> > unoptimized code and debug info.
> >
> > If the stuff from the SVN will build debuggable code by default I am
> > happy already though.
> >
>
> I think you'll want to do the somethig like the following
> to geerate unoptimized code:
>
> CFLAGS='-g -O0' ./configure [whatever]
> ___________________________________________________________________________
> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe