feature request: mmap support

Howard Chu hyc@symas.com
Fri Oct 12 16:06:00 GMT 2018


Howard Chu wrote:
> On Linux, mmap'd files aren't included in the contents of a core dump.

^^ By default. Yes you can enable it, but again, that's a waste of space.

> That's all
> great, because it'd just be writing out data that's already on the filesystem anyway.
> 
> But when attaching to the core file, addresses that would have resided in the mmap'd
> file are all inaccessible/invalid. It would be nice to have a command to attach
> mmap'd files to their respective virtual address in the coredump.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/



More information about the Gdb mailing list