Find the answer to your Linux question:
Results 1 to 6 of 6
Am doing my project developing debugger for debugging c programs under linux. Can you please give / suggest any idea how to start it or make it....
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    1

    developing Debugger for C/C++ under Linux

    Am doing my project developing debugger for debugging c programs under linux. Can you please give / suggest any idea how to start it or make it.

  2. #2
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    Take a look at the GNU Debugger for ideas: GDB: The GNU Project Debugger

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Bear in mind that for school projects the most we can do is point a direction, which darkrose0510 did. In any case, you should have been able to find that or similar links on your own, IMO. Anyway, good luck with your project. You have a lot of work ahead of you.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    There are few frontend tools available for GDB , my favorite is Nemiver - A GNOME C/C++ Debugger

    Good Luck with your project!!!
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  5. #5
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    If you want to write your own debugger, you should also look into the ptrace() function. It is used by gdb, and is essentially designed for debuggers. Check the man page for more info on how to use it.
    DISTRO=Arch
    Registered Linux User #388732

  6. #6
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    You could, for reference, look into the AMD/Intel manuals and see what debugging features these chips offer.
    Make mine Arch Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...