This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Teach -data-list-register-values to not include unavailable registers


Yao> +  ** The command -data-list-register-values now accepts an optional
Yao> +     "--skip-unavailable" option.  When used, only the available registers
Yao> +     are displayed.

Why a new argument rather than just having MI annotate unavailable
registers directly?

  -data-list-register-values x 0 8
  ^done,register-values=[{number="0",unavailable="1"},{number="8",value="0x80483de"}]

Is it not useful to see the unavailable ones?

Other than this question I think the patch is ok.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]