Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Doug Evans <xdje42@gmail.com>
Cc: Daniel Gutson <daniel.gutson@tallertechnologies.com>,
	       gdb <gdb@sourceware.org>
Subject: Re: Breakpoint commands compiler
Date: Fri, 17 Oct 2014 17:39:00 -0000	[thread overview]
Message-ID: <20141017173851.GA14909@host2.jankratochvil.net> (raw)
In-Reply-To: <CAP9bCMQbQbvkHnoDY6oJbMOMVLZSJoxoyJ3DaGahtm_xyqjoJQ@mail.gmail.com>

On Fri, 17 Oct 2014 18:57:33 +0200, Doug Evans wrote:
> For reference sake a patch has been submitted by Red Hat to add a
> "compile" command.

https://sourceware.org/gdb/wiki/GCCCompileAndExecute

as written primarily by Phil recently mentions
	Currently the project does not “patch in” the newly compiled bytes at
	the program counter. That might be a viable solution in the future,
	perhaps as we explore other avenues for this project (like “fast”
	breakpoints).

There are such plans intended as fast breakpoint conditions evaluation similar
to current agent expressions but more general.

What Daniel Gutson mentions is IMO "fix-and-continue", this was implemented by
Apple in GDB-6.3 - Googled now its announcement:
	https://www.sourceware.org/ml/gdb/2003-06/msg00500.html
It is one of the possible future goals of the "compile" project above although
currently it is considered as pretty far goal.


Jan


  parent reply	other threads:[~2014-10-17 17:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 15:42 Daniel Gutson
2014-10-17 16:12 ` Daniel Gutson
2014-10-17 16:57 ` Doug Evans
2014-10-17 17:38   ` Phil Muldoon
2014-10-17 17:39   ` Jan Kratochvil [this message]
2014-10-23 15:35 ` David Taylor

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=20141017173851.GA14909@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=daniel.gutson@tallertechnologies.com \
    --cc=gdb@sourceware.org \
    --cc=xdje42@gmail.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