This is the mail archive of the gdb@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: feature request: mmap support


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/


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