Find the answer to your Linux question:
Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By Rubberman
I am using Red Hat Enterprise Linux Server release 5.4. I need to add new commands to GDB. Where can I find the codes for those commands and how to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2013
    Posts
    3

    How to add new commands to gdb?


    I am using Red Hat Enterprise Linux Server release 5.4. I need to add new commands to GDB. Where can I find the codes for those commands and how to add these commands to GDB? Please help

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,578
    I thought I answered this previously, unless this is a duplicate post?
    My original answer was to read the gdb man page. It tells you how to create custom commands.
    Lakshmipathi likes this.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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