mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-18 00:37:28 +08:00
Add line-number styling
This patch adds separate styling for line numbers. That is, whenever gdb prints a source line number, it uses this style. v2 includes a change to ensure that %ps works in query. Reviewed-By: Eli Zaretskii <eliz@gnu.org> Reviewed-by: Keith Seitz <keiths@redhat.com>
This commit is contained in:
@@ -1007,7 +1007,7 @@ py_print_frame (PyObject *filter, frame_filter_flags flags,
|
||||
|
||||
out->text (":");
|
||||
annotate_frame_source_line ();
|
||||
out->field_signed ("line", line);
|
||||
out->field_signed ("line", line, line_number_style.style ());
|
||||
}
|
||||
}
|
||||
if (out->is_mi_like_p ())
|
||||
|
||||
Reference in New Issue
Block a user