how do i use debugging info in gcc to find line numbers of a function?

Discussion in 'C Programming' started by murrayhillster@gmail.com, Sep 17, 2005.

  1. Guest

    Basically, for every function in a module, debugger knows where it
    begins and where it ends (the line numbers). How do I extract this
    information for all functions in the module?
     
    , Sep 17, 2005
    #1
    1. Advertising

  2. Skarmander Guest

    Re: how do i use debugging info in gcc to find line numbers of afunction?

    wrote:
    > Basically, for every function in a module, debugger knows where it
    > begins and where it ends (the line numbers). How do I extract this
    > information for all functions in the module?
    >

    Off-topic. Try gnu.gcc and gnu.gcc.help.

    S.
     
    Skarmander, Sep 17, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    463
  2. Kevin P. Fleming

    C99 structure initialization in gcc-2.95.3 vs gcc-3.3.1

    Kevin P. Fleming, Nov 6, 2003, in forum: C Programming
    Replies:
    2
    Views:
    680
    Kevin P. Fleming
    Nov 6, 2003
  3. Philippe C. Martin

    printing line numbers for debugging purpose

    Philippe C. Martin, Jan 8, 2005, in forum: Python
    Replies:
    2
    Views:
    404
    python
    Jan 9, 2005
  4. =?Utf-8?B?RG90TmV0RGV2?=

    .net 1.1, display line numbers while debugging....

    =?Utf-8?B?RG90TmV0RGV2?=, Sep 12, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    367
    Alexey Smirnov
    Sep 12, 2007
  5. GIMME
    Replies:
    5
    Views:
    200
    Thomas 'PointedEars' Lahn
    Jul 26, 2004
Loading...

Share This Page