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
cli-decode.c gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr 2021-11-16 17:45:45 +00:00
cli-decode.h
cli-dump.c
cli-interp.c gdb: remove bpstat typedef, rename bpstats to bpstat 2021-11-08 16:39:14 -05:00
cli-interp.h
cli-logging.c
cli-option.c gdbsupport: make gdb_assert_not_reached accept a format string 2021-11-18 11:29:19 -05:00
cli-option.h
cli-script.c
cli-script.h
cli-setshow.c Introduce make_unique_xstrndup 2021-11-05 13:58:48 -06:00
cli-setshow.h
cli-style.c
cli-style.h
cli-utils.c gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr 2021-11-16 17:45:45 +00:00
cli-utils.h