diff mbox

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

Message ID f4b00f078a138b48a2ffd72eb3620400e735710e.1508418720.git.andrew.burgess@embecosm.com
State New
Headers show

Commit Message

Andrew Burgess Oct. 19, 2017, 1:27 p.m. UTC
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(-)

Comments

Simon Marchi Nov. 12, 2017, 8:57 p.m. UTC | #1
On 2017-10-19 09:27 AM, Andrew Burgess wrote:
> 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(-)
> 
> diff --git a/gdb/varobj.c b/gdb/varobj.c
> index 56affc73f0..d8b927ef4f 100644
> --- a/gdb/varobj.c
> +++ b/gdb/varobj.c
> @@ -311,7 +311,6 @@ varobj_create (const char *objname,
>        else
>  	fi = NULL;
>  
> -      /* frame = -2 means always use selected frame.  */
>        if (type == USE_SELECTED_FRAME)
>  	var->root->floating = 1;
>  
> 

LGTM.
diff mbox

Patch

diff --git a/gdb/varobj.c b/gdb/varobj.c
index 56affc73f0..d8b927ef4f 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -311,7 +311,6 @@  varobj_create (const char *objname,
       else
 	fi = NULL;
 
-      /* frame = -2 means always use selected frame.  */
       if (type == USE_SELECTED_FRAME)
 	var->root->floating = 1;