lkml.org 
[lkml]   [1999]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] this makes /proc/kcore an ELF core dump


    On Tue, 2 Mar 1999, David Howells wrote:

    > I found that gdb had problems finding variable values in the traditional core
    > dump style of /proc/kcore file, so I borrowed code from the binfmt_elf.c to
    > turn /proc/kcore into a very simple ELF core dump file.
    >
    > Admittedly, I did build it against 2.2.1, but I don't see much in the
    > "fs/proc/array.c" file as having changed.
    >
    > It does take up more space than the traditional-style file, but I think it is
    > worth it for gdb to be able to actually read things.

    And what happens with the stuff actually relying on /proc/kcore being what
    it is now? lsof, for one.


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:50    [W:2.673 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site