aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2017-10-19 10:59:22 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2018-01-21 15:47:28 +0000
commit03d0bf7b78b142a5e03dfa1c80100893753d0022 (patch)
tree32d9b7e4e9b375b1c228a600ad786b50387bb5d2
parentae45162705fb76ee534336474a67b11373209c62 (diff)
downloadgdb-03d0bf7b78b142a5e03dfa1c80100893753d0022.zip
gdb-03d0bf7b78b142a5e03dfa1c80100893753d0022.tar.gz
gdb-03d0bf7b78b142a5e03dfa1c80100893753d0022.tar.bz2
gdb: Remove out of date comment
Comment clean up. gdb/ChangeLog: * varobj.c (varobj_create): Remove out of date comment.
-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;