This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
maybe i'm old in not liking the idea of making these work with the standard 'print' command, because the escape sequences are terminal type dependent, which is IMO fine for a prompt set by a gdbinit, but less so for a pretty printer distributed with a library... this opinion is only strengthened by considering a std::string containing an escape sequence.
I strongly dislike ANY color stuff creeping into gdb output. Color stuff is a big menace when stuff is saved to files, or pasted and emailed etc etc.
i'm fairly steadfast that just having random escape sequences embedded in pretty printers as i implemented it is entirely the wrong thing to do, and we need some level of indirection that can be set in .gdbinit that pretty printers can query
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |