RFC: "info proc map" for corefiles

Michael Snyder msnyder@vmware.com
Thu Dec 18 21:44:00 GMT 2008


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.



More information about the Gdb-patches mailing list