aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/varobj.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9da1d3b..b982be1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
+ * varobj.c (varobj_create): Remove out of date comment.
+
+2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
+
PR mi/20395
* ada-exp.y (write_var_from_sym): Pass extra parameter when
updating innermost block.
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 6c01454..523f746 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -298,7 +298,6 @@ varobj_create (const char *objname,
else
fi = NULL;
- /* frame = -2 means always use selected frame. */
if (type == USE_SELECTED_FRAME)
var->root->floating = true;