Larry Ayers wrote:
> > had XEmacs-21.0-b38-pre2 dump core several times when I
was
> > accessing the "Recent Files->Non-permanent entries" menu. If I
> > tried to use gdb on the core, I would get an error message
> > stating that the core was not in executable format.
>
> How are you invoking gdb? The `not in executable format' message
> usually arises from doing `gdb core' rather than `gdb /path/to/xemacs core'
The core files for some reason are being dropped in my root
directory, so (while in that directory) I've been trying 'gdb
core'. It sounds like the core files should be being left in the
XEmacs executable's directory. Does gdb need to have access to
the executable which generated the core as well as the core-file
itself?
Yep. It doesn't matter about the relative locations of the files; you
just need to ensure that the first argument to gdb specifies the
executable and the second specifies the core file.
--
Glynn Clements <glynn(a)sensei.co.uk>