aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS19
1 files changed, 19 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index d2c5637..a6789bd 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -37,6 +37,16 @@
** $_any_caller_is(name [, number_of_frames])
** $_any_caller_matches(regexp [, number_of_frames])
+* GDB now supports the compilation and injection of source code into
+ the inferior. GDB will use GCC 5.0 or higher built with libcc1.so
+ to compile the source code to object code, and if successful, inject
+ and execute that code within the current context of the inferior.
+ Currently the C language is supported. The commands used to
+ interface with this new feature are:
+
+ compile code [-raw|-r] [--] [source code]
+ compile file [-raw|-r] filename
+
* New commands
queue-signal signal-name-or-number
@@ -49,6 +59,15 @@ add-auto-load-scripts-directory directory
maint print user-registers
List all currently available "user" registers.
+compile code [-r|-raw] [--] [source code]
+ Compile, inject, and execute in the inferior the executable object
+ code produced by compiling the provided source code.
+
+compile file [-r|-raw] filename
+ Compile and inject into the inferior the executable object code
+ produced by compiling the source code stored in the filename
+ provided.
+
* On resume, GDB now always passes the signal the program had stopped
for to the thread the signal was sent to, even if the user changed
threads before resuming. Previously GDB would often (but not