Thread: Meaning of 'debugging symbols' with respect to GDB

  1. #1
    Noob AnishaKaul's Avatar
    Join Date
    Jan 2010
    Location
    Gurgaon, India
    Posts
    115

    Meaning of 'debugging symbols' with respect to GDB

    Wikipedia says:

    A debug symbol is information that expresses which programming-language constructs generated a specific piece of machine code in a given executable module.
    1. Any examples of what kind of programming-language constructs are used for the purpose?
    2. What is the meaning of "constructs" in this context? Functions?

    Please try to explain in detail.

  2. #2
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by AnishaKaul View Post
    Wikipedia says:


    1. Any examples of what kind of programming-language constructs are used for the purpose?
    2. What is the meaning of "constructs" in this context? Functions?

    Please try to explain in detail.
    That means that you'll be able to see the actual variables and syntax, instead of just memory addresses, when debugging.

  3. #3
    Noob AnishaKaul's Avatar
    Join Date
    Jan 2010
    Location
    Gurgaon, India
    Posts
    115
    Thanks, but replies weren't `too` helpful.
    Anyway, can we "see" the debugging symbols somewhere, through GDB?
    Perhaps I'll be able to understand them better then.

  4. #4

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. *ptr = 0 what is the meaning
    By dayalsoap in forum C Programming
    Replies: 12
    Last Post: 09-18-2010, 02:49 PM
  2. addressing modes with respect to a C language program
    By ckarthickit in forum C Programming
    Replies: 3
    Last Post: 06-10-2010, 07:27 PM
  3. Replies: 9
    Last Post: 04-07-2010, 10:03 PM
  4. gdb no debugging symbols found
    By Laserve in forum Linux Programming
    Replies: 8
    Last Post: 09-17-2006, 08:56 AM
  5. Please respect your direct superior
    By Series X4 1.0 in forum A Brief History of Cprogramming.com
    Replies: 61
    Last Post: 10-25-2001, 04:27 PM