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


Eli Zaretskii wrote:
From: =?ISO-8859-1?Q?S=E9rgio?= Durigan =?ISO-8859-1?Q?J=FAnior?= <sergiodj@linux.vnet.ibm.com>
Cc: Michael Snyder <msnyder@vmware.com>,         Mark Kettenis <mark.kettenis@xs4all.nl>,         "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Date: Fri, 19 Dec 2008 14:23:53 -0200

Hey Tom,

IIUC we are creating this new command because "info proc" was initially
designed to provide information about a live process, right?

No, "info proc" was designed to provide information recorded about a process in the /proc filesystem. And a process that is dead does not have any information about it in /proc.

Oh yeah, I guess that's right. "info proc" first appeared in solaris-gdb, and then the other hosts that shared procfs.c (like Irix, I think) -- and then eventually appeared in linux gdb (although /proc in linux doesn't remotely resemble /proc everywhere else).

Are there any other gdb configs where the command appears?
That is, other than linux and systems that use procfs.c?




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