From: Tom Tromey Date: Thu, 15 Jan 2026 20:25:20 +0000 (-0700) Subject: Style an error message in stack.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9552ba240138d2519906bc5c48ccdc8a6488e6ce;p=thirdparty%2Fbinutils-gdb.git Style an error message in stack.c This applies some CLI styling to an error message in stack.c. --- diff --git a/gdb/stack.c b/gdb/stack.c index 3ab0090ea8a..889efe62e0d 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1920,7 +1920,8 @@ public: error (_("Missing function name argument")); frame_info_ptr fid = find_frame_for_function (arg); if (fid == NULL) - error (_("No frame for function \"%s\"."), arg); + error (_("No frame for function \"%ps\"."), + styled_string (function_name_style.style (), arg)); FPTR (fid, false); }