binutils-gdb/gdb/cli
Simon Marchi 557b4d7650 gdbsupport: make gdb_assert_not_reached accept a format string
Change gdb_assert_not_reached to accept a format string plus
corresponding arguments.  This allows giving more precise messages.

Because the format string passed by the caller is prepended with a "%s:"
to add the function name, the callers can no longer pass a translated
string (`_(...)`).  Make the gdb_assert_not_reached include the _(),
just like the gdb_assert_fail macro just above.

Change-Id: Id0cfda5a57979df6cdaacaba0d55dd91ae9efee7
2021-11-18 11:29:19 -05:00
..
cli-cmds.c gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr 2021-11-16 17:45:45 +00:00
cli-cmds.h gdb: add setting to disable reading source code files 2021-09-27 11:31:35 +01:00
cli-decode.c gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr 2021-11-16 17:45:45 +00:00
cli-decode.h gdb: Introduce setting construct within cmd_list_element 2021-10-03 17:53:16 +01:00
cli-dump.c gdb: change functions returning value contents to use gdb::array_view 2021-10-25 14:51:44 -04:00
cli-interp.c gdb: remove bpstat typedef, rename bpstats to bpstat 2021-11-08 16:39:14 -05:00
cli-interp.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cli-logging.c gdb: add add_setshow_prefix_cmd 2021-10-28 10:44:18 -04:00
cli-option.c gdbsupport: make gdb_assert_not_reached accept a format string 2021-11-18 11:29:19 -05:00
cli-option.h gdb: make string-like set show commands use std::string variable 2021-10-03 17:53:16 +01:00
cli-script.c Move value_true to value.h 2021-09-24 11:58:04 -06:00
cli-script.h cli-script: use unique_ptr to not leak next struct 2021-05-20 21:03:47 +02:00
cli-setshow.c Introduce make_unique_xstrndup 2021-11-05 13:58:48 -06:00
cli-setshow.h gdb: Introduce setting construct within cmd_list_element 2021-10-03 17:53:16 +01:00
cli-style.c gdb: add add_setshow_prefix_cmd 2021-10-28 10:44:18 -04:00
cli-style.h gdb: generate the prefix name for prefix commands on demand 2021-05-12 11:19:22 +01:00
cli-utils.c gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr 2021-11-16 17:45:45 +00:00
cli-utils.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00