From: Peng Yu <pengyu.ut@gmail.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: How to set the same command for all the breakpoints in gdb?
Date: Mon, 21 Jan 2019 02:54:00 -0000 [thread overview]
Message-ID: <CABrM6wnOHhPCwodnb1D1VNv4atfjya8EFiKkTC5WpGcP8gDmRA@mail.gmail.com> (raw)
In-Reply-To: <20190118115004.1a51eefc@archvm>
gdb manual says the following. But I want to set the same command for
all breakpoints and I don't want to know the number of all the
breakpoints. Is there a syntax to specify all the breakpoints? Thanks.
*Some GDB commands accept a range of breakpoints on which to operate.
A breakpoint range is either a single breakpoint number, like `5', or
two such numbers, in increasing order, separated by a hyphen, like
`5-7'. When a breakpoint range is given to a command, all breakpoint
in that range are operated on.*
--
Regards,
Peng
next prev parent reply other threads:[~2019-01-21 2:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-18 10:50 jit interface and jit reader Frank Tetzel
2019-01-21 2:54 ` Peng Yu [this message]
2019-01-21 13:53 ` Frank Tetzel
2019-01-22 11:21 ` Tony Simpson
2019-01-22 17:33 ` Frank Tetzel
2019-01-22 17:56 ` Tony Simpson
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=CABrM6wnOHhPCwodnb1D1VNv4atfjya8EFiKkTC5WpGcP8gDmRA@mail.gmail.com \
--to=pengyu.ut@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