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


Sérgio Durigan Júnior wrote:
Hello Mark,

On Thu, 2008-12-18 at 19:46 +0100, Mark Kettenis wrote:

This looks pretty cool, but I think having this as "info proc"
subcommand is wrong:

(gdb) help info
...
info proc -- Show /proc process information about any running process
...

Corefiles have nothing to do with /proc and many operating systems
don't even have such a thing.

All right, good point. Do you have any suggestion for this? Should I create another class of command?

"info core"?


There are probably a bunch of things we could expose about a
core file that would not make sense for a process, and vice versa.


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