From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: gdb@sourceware.org
Subject: Re: GDB support for 'Run to Line'
Date: Wed, 15 Apr 2009 21:22:00 -0000 [thread overview]
Message-ID: <20090415195842.GA12691@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA0745EBDA@ecamlmw720.eamcs.ericsson.se>
On Wed, 15 Apr 2009 21:48:01 +0200, Marc Khouzam wrote:
> GDB's 'advance' is better, but it stops if the current frame exists.
>
> Anything else that I could use to 'run to line' anywhere in the program?
If it was a question and not a feature request then:
cat >>~/.gdbinit <<EOH
define runto
tbreak $arg0
cont
end
EOH
Regards,
Jan
prev parent reply other threads:[~2009-04-15 19:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-15 19:57 Marc Khouzam
2009-04-15 19:58 ` Daniel Jacobowitz
2009-04-16 7:00 ` Marc Khouzam
2009-04-15 21:22 ` Jan Kratochvil [this message]
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=20090415195842.GA12691@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb@sourceware.org \
--cc=marc.khouzam@ericsson.com \
/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