This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add aliases "i ty" and "i so".
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <xdje42 at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 04 Jan 2015 05:38:22 +0200
- Subject: Re: [PATCH] Add aliases "i ty" and "i so".
- Authentication-results: sourceware.org; auth=none
- References: <m34ms7pm02 dot fsf at seba dot sebabeach dot org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Doug Evans <xdje42@gmail.com>
> Date: Sat, 03 Jan 2015 13:55:41 -0800
>
> I'd gotten tired enough of fully typing out "info types" and "info source"
> (which otherwise collide with "info type-printers" and "info sources")
> that I have this in my .gdbinit:
>
> alias i ty = info types
> alias i so = info source
>
> Does anyone want a more generally available solution?
> Another way to go is to put the "alias" solution in a more public
> place (the faq or some such).
> I don't have a strong preference, just in a "spring cleaning" kind of
> mood. :-)
>
> I thought of maybe "i t" for "info types" but I can't think of a reason
> to prefer "t" for "types" or "threads", so I'm going with "ty" which
> I think is pretty safe.
>
> "s" is taken ("info stack", which is fine by me), so I went with "so"
> for "source".
OK for the documentation parts.
Thanks.