Try: libtool --mode=execute gdb ./tshark
This can be used for gdb, ddd, kdbg, etc. If I am trying to fix a dissector, I use tshark. Easier to watch in debugger and the GUI dose not get in the way --- On Sun, 5/13/12, Richard Sharpe <[email protected]> wrote: From: Richard Sharpe <[email protected]> Subject: [Wireshark-dev] How do I build wireshark so I can run gdb on the result? To: "Developer support list for Wireshark" <[email protected]> Date: Sunday, May 13, 2012, 1:17 AM Hi folks, libtool is getting in the way and the result is that shared objects are not found or I have to set up a long LD_LIBRARY_PATH Is there a simpler way? -- Regards, Richard Sharpe (何以解憂?唯有杜康。--曹操) ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
