[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/13] script language API for GDB
From: |
Doug Evans |
Subject: |
Re: [PATCH 00/13] script language API for GDB |
Date: |
Mon, 23 Dec 2013 09:40:19 -0800 |
[+ guile-user
For background: https://sourceware.org/ml/gdb-patches/2013-12/msg00243.html ]
On Fri, Dec 20, 2013 at 8:26 AM, Tom Tromey <address@hidden> wrote:
>>>>>> "Doug" == Doug Evans <address@hidden> writes:
>
> Doug> One thought I have for this is "info guile pretty-printer", etc.
> Doug> That simplifies a lot of things. From a u/i perspective it has
> Doug> both plusses and minuses, but I like it overall.
>
> The problem with this approach is that it assumes that the user both
> knows and cares in which extension language a given feature is
> implemented. However, I don't believe either of those is true in the
> most common situations. My experience with the libstdc++ printers is
> that most people want them to "just work" and that any amount of
> required under-the-hood knowledge is too much of a burden.
OTOH, there are situations where a user can care.
For those that don't care, "info pretty-printer" can still print all of them.
"info pretty-printer" et.al. would need some work, sure, and one way
to go would be to use
"info <ext-lang> pretty-printer".