This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Breakpoint Handling For Dynamic Processes


Hello,
Thanx for you replies. I have another question.

In our OS, one can only attach to a process when it is running.
And we only have dynamic processes.
Hence, arises the problem of applying a breakpont to stop a
process.
Thus, We need a way to apply a breakpoint even before a process
is attached. 
What if we write a special stub which has the responsibility to
apply breakpoints on the target. These bps will end up in some
process address space. 
So When a process will be attached to via another stub say
(gdbserver), Will gdb be aware of all the bps for this process
which were applied even before an attach took place?
And will it behave in the usual way like when a BP would have
been applied after a process was attached.

Or does anyone have ideas on how to solve the problem of
debugging dynamic processes which can only be attached to if it
is running.

Veenu 


 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]