This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Breakpoint commands compiler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]