This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: "info proc map" for corefiles
> Cc: Michael Snyder <msnyder@vmware.com>, Mark Kettenis <mark.kettenis@xs4all.nl>, "gdb-patches\@sourceware.org" <gdb-patches@sourceware.org>
> From: Tom Tromey <tromey@redhat.com>
> Date: Fri, 19 Dec 2008 09:05:20 -0700
>
> >>>>> "Sérgio" == Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com> writes:
>
> Sérgio> Ok, I'll create the "info core" command for that. Thanks for the
> Sérgio> comment.
>
> I agree that "info proc" a misnomer. But, it seems to me it would be
> nice for the user to use the same command in both cases. How about a
> new command (not "info core"), with the old "info proc map" aliased to
> it?
We don't need an alias for that; it's enough for "info proc map"
subroutines to call the subroutines of "info core" internally, when
the target is a core file.