public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/28259] New: [gdb] Support %ps in error function
@ 2021-08-24 6:11 vries at gcc dot gnu.org
2021-08-24 6:17 ` [Bug gdb/28259] " vries at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-08-24 6:11 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28259
Bug ID: 28259
Summary: [gdb] Support %ps in error function
Product: gdb
Version: HEAD
Status: NEW
Severity: enhancement
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
[ Spinoff of PR26880 - "hex instead of filename printed in error message". ]
Make the error function support %ps, and revert the patch for PR26880.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug gdb/28259] [gdb] Support %ps in error function
2021-08-24 6:11 [Bug gdb/28259] New: [gdb] Support %ps in error function vries at gcc dot gnu.org
@ 2021-08-24 6:17 ` vries at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-08-24 6:17 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28259
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Quoting PR26880 comment 6:
...
(In reply to philippe.waroquiers from comment #5)
> Wondering what it would mean to support styled strings in error.
The main difficulty is that when the message is constructed,
we don't know if it will be printed to a stream that allows
styling. However, we do have the machinery needed to strip
the styling when printing, so maybe that would be an option.
IMO the current situation, with different printf styles in
a single code base, is bad and is going to cause problems
again unless we change it at the root.
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-24 6:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24 6:11 [Bug gdb/28259] New: [gdb] Support %ps in error function vries at gcc dot gnu.org
2021-08-24 6:17 ` [Bug gdb/28259] " vries at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).