bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Freeze (Zooning... zone-pgm-LR-rotate-variable)


From: Erik Sigra
Subject: Re: Freeze (Zooning... zone-pgm-LR-rotate-variable)
Date: Mon, 29 Oct 2001 12:56:26 +0100

måndagen den 29 oktober 2001 11.07 skrev Eli Zaretskii:
> On Mon, 29 Oct 2001, Erik Sigra wrote:
> > > > > > At this point it shows a lot:
> > > > > > #0  0x8114e9d in ?? ()
> > > > > > #1  0x8115479 in ?? ()
> > > > >
> > > > > This probably means you either built Emacs without the -g switch,
> > > > > or installed it stripped.  To be able to debug Emacs, you need to
> > > > > run an unstripped binary compiled with -g.  It's possible that
> > > > > src/emacs is still uunstripped, in which case you could run it
> > > > > instead of the installed binary.
> > > >
> > > > I usually try to build things with debugging enabled so that I can
> > > > send reports. I usually try "./configure --help" and look for
> > > > "--enable-debug". But I didn't find that for emacs.
> > >
> > > Emacs is built by default with debug information enabled.  Please look
> > > into src/Makefile and see if the compilation flags include -g.
> >
> > It contains:
> >
> > CFLAGS= -g -O2
>
> That's normal.  Can it be that the binary was stripped when installed?
> Does GDB complain about missing symbols if you say "gdb ./emacs" in
> the `src' directory where you built Emacs?

I'm not getting along with gdb at all. If I execute "gdb ./emacs", then I get 
no stack, because when I press Ctrl+C to interrupt the program, it exits. If 
I execute "gdb --exec=./emacs", then I can interrupt the program with Ctrl+C 
and do stuff (backtrace, continue) but I get no symbols:


~/sourcecode/stable/emacs-21.1/src > gdb --exec=./emacs
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
.gdbinit:22: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
(gdb)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]