Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "andy wang" <ypwangreg@gmail.com>
To: gdb@sourceware.org
Subject: Stopping Execution When Variables Change
Date: Sun, 24 Dec 2006 23:34:00 -0000	[thread overview]
Message-ID: <89c3ea2b0612241534o2b25b187v444cf8298f6b3f31@mail.gmail.com> (raw)

Hi, All:

Last question before Xmas :-) I want to find the same function in gdb
as in sun's dbx

I can't find it in GDB manual so I came here. Thanks in advanced!

============ the following is from sun dbx manual =========
topping Execution When Variables Change

To stop program execution if the value of a specified variable has
changed, type:

(dbx) stop change variable

Keep these points in mind when using the stop change command:

    * dbx stops the program at the line after the line that caused a
change in the value of the specified variable.

    * If variable is local to a function, the variable is considered
to have changed when the function is first entered and storage for
variable is allocated. The same is true with respect to parameters.

    * The command does not work with multithreaded applications.

For more information on specifying a change event, see change variable
and stop Command.


             reply	other threads:[~2006-12-24 23:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-24 23:34 andy wang [this message]
2006-12-25  1:09 ` Daniel Jacobowitz
2006-12-25  3:37 ` Joel Brobecker

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=89c3ea2b0612241534o2b25b187v444cf8298f6b3f31@mail.gmail.com \
    --to=ypwangreg@gmail.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