Ethereal-dev: Re: [Ethereal-dev] debug and disector writing

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

From: "packet steve" <packetsteve@xxxxxxxxxxx>
Date: Mon, 15 Nov 2004 21:12:59 -0500
If you're in the top Ethereal directory on a *nix system, try
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:epan/.libs:wiretap/.libs
 gdb .libs/ethereal

(Would be nice to make libtool work though)

From: Andy Howell <AndyHowell@xxxxxxxxxxxxx>
Reply-To: Ethereal development <ethereal-dev@xxxxxxxxxxxx>
To: Ethereal development <ethereal-dev@xxxxxxxxxxxx>
Subject: Re: [Ethereal-dev] debug and disector writing
Date: Mon, 15 Nov 2004 11:58:35 -0600

Miklos Szurdi wrote:

I know that the ethereal in the main dir is only a shell script calling .libs/ethereal...but when i ran ddd on that executable file it still does not work...:-( I found a workaround, running ddd with a core file created with ethereal... not very nice...and it really get things in ddd go crazy


I'd like to know this as well. When I run:

libtool --mode=execute ddd ethereal

gdb does not know where to find the source or symbols, yet it I do "run", it runs it.

I tried to build a static version, but that is broken on Solaris. The flags passed to the linker are wrong, and I was not able to work out why.

Andy


_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev