From: veenu khanna <veenu_khanna@yahoo.com>
To: gdb@sourceware.org
Subject: Breakpoint Handling For Dynamic Processes
Date: Mon, 12 Feb 2007 21:02:00 -0000 [thread overview]
Message-ID: <20070212193010.90275.qmail@web53802.mail.yahoo.com> (raw)
In-Reply-To: <20070209153400.GA11366@nevyn.them.org>
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
next prev parent reply other threads:[~2007-02-12 19:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-09 15:21 GDB Stub & GPL question veenu khanna
2007-02-09 15:34 ` Daniel Jacobowitz
2007-02-12 21:02 ` veenu khanna [this message]
2007-02-09 15:35 ` Paul Koning
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070212193010.90275.qmail@web53802.mail.yahoo.com \
--to=veenu_khanna@yahoo.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox