Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: xgsa <xgsa@yandex.ru>
To: Tom Tromey <tromey@redhat.com>
Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
Subject: Re: set print object on should affect MI varobjs (PR mi/13393)
Date: Fri, 30 Mar 2012 20:11:00 -0000	[thread overview]
Message-ID: <4F7613A1.3040600@yandex.ru> (raw)
In-Reply-To: <87k422q8p7.fsf@fleche.redhat.com>


> You didn't say whether you regression-tested this.
Yes, I didn't say it because I was not sure I have done it properly. I 
have run the gdb.mi tests but there were a few unexpected failures. 
However these failures are reproducible on gdb master branch without my 
changes, so it should be a problem with my environment setup. 
Unfortunately, I cannot figure out how to fix it. Moreover probably I 
should run all the tests (not only gdb.mi) with "make check" but I 
cannot found the overall statistics (only by every module), so it is 
quite hard to compare the results. I have read the Testsuite chapter[1] 
in gdb internals manual however that didn't help. Can you clarify me how 
the regression testing should be done or point me where to read about it?

[1] 
http://sourceware.org/gdb/current/onlinedocs/gdbint/Testsuite.html#Testsuite

> Anton>  +  if (real_type_found)
> Anton>  +      *real_type_found = 0;
Fixed
> Too much indentation on the second line here.
>
> Anton>  +              if (real_type_found)
> Anton>  +                  *real_type_found = 1;
>
> Here too.
Fixed
> Anton>  +          if (real_type_found)
> Anton>  +              *real_type_found = 1;
>
> Here too.
Fixed
> Anton>  +   REAL_TYPE_FOUND is used to inform whether the real type was found
> Anton>  +   (or just static type was used). The NULL may be passed if it is not
> Anton>  +   necessary. */
>
> Two spaces after periods.
> Just write "NULL", not "The NULL".
Fixed.
> Anton>  +	    if (real_type_found)
> Anton>  +	        value = value_cast (var->type, value);
>
> Too much indentation.
Fixed.
> Anton>  +      int type_updated = update_type_if_necessary(existing, value);
>
> Space before open paren.
Fixed.
> Anton>  +	  curr_type_str = varobj_get_type(var);
>
> Space before open paren.
Fixed.
> Anton>  +	  if (update_type_if_necessary(v, new))
> Anton>  +	      r.type_changed = 1;
>
> Too much indentation.
Fixed.


Anton.


  parent reply	other threads:[~2012-03-30 20:11 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02 19:50 set print object on should affect MI varobjs (PR 13393) xgsa
2011-12-08  8:15 ` xgsa
2011-12-19 20:34   ` xgsa
2011-12-20 17:47 ` Tom Tromey
2011-12-21 19:01   ` set print object on should affect MI varobjs (PR gdb/13393) xgsa
2011-12-21 19:37     ` Jan Kratochvil
2011-12-22 10:17       ` set print object on should affect MI varobjs (PR mi/13393) xgsa
2011-12-24  1:55         ` Jan Kratochvil
2011-12-24 13:56           ` xgsa
2012-01-02  2:22             ` Jan Kratochvil
2012-01-06 15:47               ` RTTI type improvement for (was: "Re: set print object on should affect MI varobjs (PR mi/13393)") xgsa
2012-01-09 14:41                 ` Jan Kratochvil
2012-01-11 21:58                   ` RTTI type improvement for Tom Tromey
2012-01-12 11:25                     ` xgsa
2012-02-06 21:45                 ` Tom Tromey
2012-02-08 18:34                   ` xgsa
2012-02-10 20:13                     ` Tom Tromey
2012-02-19 18:46                       ` set print object on should affect MI varobjs (PR mi/13393) xgsa
2012-02-23  4:58                         ` xgsa
2012-03-18 16:28                         ` xgsa
2012-03-18 20:41                           ` Eli Zaretskii
2012-03-19  7:10                             ` xgsa
2012-03-19 17:41                               ` Eli Zaretskii
2012-03-23 17:09                                 ` xgsa
2012-03-26 19:08                                   ` xgsa
2012-03-30 17:51                                   ` Tom Tromey
2012-03-30 18:01                                     ` Eli Zaretskii
2012-03-30 20:11                                     ` xgsa [this message]
2012-03-30 18:01                                   ` Eli Zaretskii
2012-03-30 20:25                                     ` xgsa
2012-03-30 20:52                                       ` Eli Zaretskii
2012-03-30 21:26                                         ` xgsa
2012-03-31  5:54                                           ` Eli Zaretskii
2012-03-31  6:57                                             ` xgsa
2012-03-31  9:33                                               ` xgsa
2012-04-03  0:54                                                 ` Doug Evans
2012-04-03 13:27                                                   ` xgsa
2012-04-06 17:11                                                     ` xgsa
2012-04-13  8:07                                                       ` xgsa
2012-04-13 12:22                                                         ` Eli Zaretskii
2012-04-13 12:34                                                           ` xgsa
2012-04-13 17:23                                                             ` Tom Tromey
2012-04-14 23:35                                                               ` xgsa
2012-04-16 18:35                                                                 ` Jan Kratochvil
2012-07-23 17:21                                                                   ` Ulrich Weigand
2012-08-06  7:26                                                                     ` xgsa
2012-02-21 14:15                       ` RTTI type improvement for xgsa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F7613A1.3040600@yandex.ru \
    --to=xgsa@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox