Wireshark mailing list archives

Re: How do I build wireshark so I can run gdb on the result?


From: Alex Lindberg <alindber () yahoo com>
Date: Sun, 13 May 2012 08:30:40 -0700 (PDT)

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 <realrichardsharpe () gmail com> wrote:

From: Richard Sharpe <realrichardsharpe () gmail com>
Subject: [Wireshark-dev] How do I build wireshark so I can run gdb on the result?
To: "Developer support list for Wireshark" <wireshark-dev () wireshark org>
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 <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: