ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Fw: [Ethereal-dev] H.225 problem, and running under gdb

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Martin Mathieson" <martin.mathieson@xxxxxxxxxxxx>
Date: Mon, 21 Jun 2004 17:35:22 +0100
Sending again as it appears to have been lost...?
Martin


> > I sometimes use the following:
> > CFLAGS="-O -march=i686"
> ./configure --with-extra-gcc-checks --config-cache --enable-randpkt
> > In case you want to disable any optimization, you should replace -O
by -O0
> >
> >  Ciao
> >   Joerg
>
> I tried   CFLAGS="-O0  -march=i686  -g" ./configure
> but found that it couldn't find the source for functions in
libtethereal(?).
> I'm not sure what other options would have helped but I ended up just
> editing CFLAGS in Makefile and epan/Makefile as others have suggested.  It
> would be good to say something about the use of gdb in README.developer
(and
> possibly the website development page?).  I used my nobbled ethereal
launch
> script to get to the gdb prompt - do others do this, or perhaps just
launch
> ethereal normally then attach to the process before making it fail?
>
> Anyway, I attach my patch to packet-h225.c that works with the capture I
sent
> previously.  It looks plausible to me but I'm not that familiar with the
> protocol.  My patch also marks some generated fields as such.
>
> Regards,
> Martin
>

Attachment: packet-h225.c.diff
Description: Binary data