[PATCHv2 5/5] gdb: change info sources to group results by objfile

Simon Marchi simon.marchi@polymtl.ca
Thu Jun 3 13:08:37 GMT 2021


On 2021-05-19 7:12 a.m., Andrew Burgess wrote:
> @@ -4482,10 +4441,16 @@ info_sources_worker (struct ui_out *uiout,
>  	{
>  	  output_tuple.emplace (uiout, nullptr);
>  	  uiout->field_string ("filename", objfile_name (objfile));
> +	  uiout->text (":\n");
>  	  bool debug_fully_readin = !objfile->has_unexpanded_symtabs ();
> -	  current_uiout->field_string ("debug-fully-read",
> -				       (debug_fully_readin
> -					? "true" : "false"));
> +	  if (!debug_fully_readin)
> +	    uiout->text ("(Full debug information has not yet been read "
> +			 " for this file.)\n");

I just noticed the double space between "read" and "for."

Simon


More information about the Gdb-patches mailing list