[RFA 1/3] Implement 'set print frame-info|frame-arguments presence'.

Andreas Schwab schwab@linux-m68k.org
Sun May 5 20:24:00 GMT 2019


On Mai 04 2019, Philippe Waroquiers <philippe.waroquiers@skynet.be> wrote:

> @@ -766,13 +779,42 @@ do_gdb_disassembly (struct gdbarch *gdbarch,
>      }
>  }
>  
> +/* The possible choices of "set print frame-info", and the value
> +   of this setting.  */
> +
> +static const char *const print_frame_info_choices[] =
> +  {"src_line", "location", "src_and_loc", "loc_and_address", "short_loc",
> +   "auto", NULL};

I think it would be nicer to use dashes instead of underscores, and not
abbreviate the words.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the Gdb-patches mailing list