Results 1 to 5 of 5
i have to create a simple gdb like debugger
it should have the following functionalities:
->set or clear breakpoints
->stop at that particular breakpoint.
the problem is that i am ...
- 02-06-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 3
can anyone please help me URGENT
i have to create a simple gdb like debugger
it should have the following functionalities:
->set or clear breakpoints
->stop at that particular breakpoint.
the problem is that i am new to linux programming .
and i am not able to do this .
can anyone help me with this .
- 02-06-2009 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 12
The GDB or GNU Project Debugger is released under the GNU Public License (duh.) This means taht its source code is available for anyone to look at. If you want to make application that is similar, you are permitted to use the source of the GDB, as long as you follow the terms of the GPL.
The GNU Project Debugger
The GNU Public License
- 02-06-2009 #3
Why re-invent the wheel? Why don't you just use gdb?
Linux user #126863 - see http://linuxcounter.net/
- 02-07-2009 #4Just Joined!
- Join Date
- Feb 2009
- Posts
- 3
the thing is we have to develop a debugger..
its kind of an assignment
i have downloaded the gdb source code
but its too huge to go thru it ..
i just want to know how i can set a breakpoint . is it using interrupts or exception
- 02-08-2009 #5
Homework assignments are not allowed on this forum, as per the forum rules.
Debuggers are very complicated programs, and if you don't know anything about Linux development, it seems that this is a poor program to attempt to design.
Having said that, if you're truly interested, gdb accomplishes what it does by using the ptrace system call. You may run the command "man ptrace" for more information.
If you eventually have more specific questions, please ask them.DISTRO=Arch
Registered Linux User #388732


