Patchwork [PATCHv5,4/5] gdb: Remove out of date comment

login
register
mail settings
Submitter Andrew Burgess
Date Jan. 2, 2018, 3:31 p.m.
Message ID <934b7965fba4023a513ec4b619285e18daefd2e3.1514905848.git.andrew.burgess@embecosm.com>
Download mbox | patch
Permalink /patch/25178/
State New
Headers show

Comments

Andrew Burgess - Jan. 2, 2018, 3:31 p.m.
Comment clean up.

gdb/ChangeLog:

	* varobj.c (varobj_create): Remove out of date comment.
---
 gdb/ChangeLog | 4 ++++
 gdb/varobj.c  | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

Patch

diff --git a/gdb/varobj.c b/gdb/varobj.c
index 586bf5fc53b..7d3800b2a48 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;