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: Andy Howell <AndyHowell@xxxxxxxxxxxxx>
Date: Mon, 15 Nov 2004 22:11:31 -0600
packet steve wrote:

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)

Did that before I learned about the libtool option. Even setting the LD_LIRBRARY_PATH and running gdb, gdb does not find the symbols. I'm sure there is some gdb magic incantation I can call up and have it find the debug symbols and the source; I just don't know what it is. :(

If I do "list" in gdb, I get
../../libgcc2.c: No such file or directory
in ../../gcc/libgcc2.c

This is on Solaris 8, GCC 3.4.2 and GDB 6.3.

Andy