Find the answer to your Linux question:
Results 1 to 2 of 2
help.jpg (gdb) b * 0x8048498 Breakpoint 1 at 0x8048498 (gdb) r Starting program: /bin/autodig Couldn't get registers: Operation not permitted. when i tried to debugging with gdb on redhat9. gdb ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2013
    Posts
    3

    Couldn't get registers: Operation not permitted.


    help.jpg



    (gdb) b * 0x8048498
    Breakpoint 1 at 0x8048498
    (gdb) r
    Starting program: /bin/autodig
    Couldn't get registers: Operation not permitted.



    when i tried to debugging with gdb on redhat9.

    gdb couldn't debug from root or guest.

  2. #2
    Just Joined!
    Join Date
    Dec 2013
    Posts
    3
    i solved the problem with myself.
    the cause is SetUID.
    the solution is the program(/bin/autodig) copy another place. (#cp /bin/autodig /home)
    and execute a program(/home/autodig) with gdb.
    so i can run.

    p.s. i'm not native speaker of english
    so i'm not good at english...
    Sorry, i hope you understand us.

Posting Permissions

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