Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8105455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:10:04+00:00 2026-06-06T00:10:04+00:00

I am trying to view the source code of Wireshark to understand protocol analysis,

  • 0

I am trying to view the source code of Wireshark to understand protocol analysis,
but I found that when I just use gdb ./wireshark, when I press Ctrl+C and set a breakpoint, then type C, the process dies. I want to know what libtool does to make GDB debugging possible.

I’ve already read man libtool and it says libtool is a tool make it easy to use all kinds of .a or .o by a simple interface, but I don’t know what the key is to make gdb wireshark possible with libtool.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:10:05+00:00Added an answer on June 6, 2026 at 12:10 am

    When you use libtool to build a program, it will handle all the difficulties and particularities of using shared libraries in your platform.

    One of the difficulties is debugging, because when debugging you want to load shared libraries that are not installed in the system (they are just compiled). So when libtool builds an executable, it will move it into a hidden directory (.libs) and will usually place a script or similar with the same name where you can see it. This script will do all the magic to run the correct program with the correct libraries.

    But, obviously you cannot debug a script with gdb! So, in order to pass the correct parameters to gdb for it to be able to debug the right program with the right libraries, you have to run the command:

    $ libtool --mode=execute gdb ./wireshark
    

    You can see what it does by running:

    $ libtool --mode=execute echo ./wireshark
    

    Just do not use the files from .libs directly: use always libtool or the wrapper scripts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've read through the source code but it seems a little cryptic. I'm just
I'm trying to view a users tweets from my app but twitter responses with
I have an extremely simple page that I'm trying to view in the Facebook
Trying to create a black line in my view to separate text blocks but
I am trying to find source code in our project and I have access
I am trying to request (using the gapi source code) the referred from link
I'm trying to create an ePub file in android. Below is my source code.
I am trying to use my model in razor view and I am getting
I am trying to take this from view source, i.e.: <a href=javascript:validateCB();><img src=wwv_flow_file_mgr.get_file?p_security_group_id=1343380920146312332&p_flow_id=222&p_fname=submit_btn.gif alt=Submit
I'm just starting out in Python and I'm trying to request the html source

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.