aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-05-03 17:28:08 -0600
committerTom Tromey <tom@tromey.com>2017-09-29 21:12:13 -0600
commit9813429a729dbcd761dfbb02d2d7a3449af0881d (patch)
tree7126b168be181116466378f3f614404681d67427 /gdb/ChangeLog
parent2d6960b4568869baaa3cb40f75caed4021938e1c (diff)
downloadgdb-9813429a729dbcd761dfbb02d2d7a3449af0881d.zip
gdb-9813429a729dbcd761dfbb02d2d7a3449af0881d.tar.gz
gdb-9813429a729dbcd761dfbb02d2d7a3449af0881d.tar.bz2
Don't copy a string in mi_cmd_disassemble
This string copy in mi_cmd_disassemble seems not to be needed, so don't do it. gdb/ChangeLog 2017-09-29 Tom Tromey <tom@tromey.com> * mi/mi-cmd-disas.c (mi_cmd_disassemble): Don't copy "oarg".
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2aaaabe..004e0b0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-29 Tom Tromey <tom@tromey.com>
+ * mi/mi-cmd-disas.c (mi_cmd_disassemble): Don't copy "oarg".
+
+2017-09-29 Tom Tromey <tom@tromey.com>
+
* varobj.h (varobj_gen_name): Return std::string.
* varobj.c (varobj_gen_name): Return std::string.
* mi/mi-cmd-var.c (mi_cmd_var_create): Use std::string.