This is the mail archive of the gdb-patches@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]

Re: RFC: "info proc map" for corefiles


Hey Tom,

On Fri, 2008-12-19 at 09:05 -0700, Tom Tromey wrote:
> 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?

IIUC we are creating this new command because "info proc" was initially
designed to provide information about a live process, right? So what if
we change the "design assumptions" of it? What if "info proc" could be
used to display info about a process, whether it's running or not?

Ok, just in case you don't agree with what I proposed above, what do you
think if this new command (to which "info proc map" would be aliased) to
be called "info mapping"? Don't know if it's a good name, but I tried to
make it represent both "info proc map" and "info core map" :-).

Regards,

-- 
Sérgio Durigan Júnior
Linux on Power Toolchain - Software Engineer
Linux Technology Center - LTC
IBM Brazil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]