This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB fails from Kdbg
Did you follow the series of commands below, or just go:
gdb clipview
Because the latter works -- it is the sequence below that fails, and
that is the sequence emitted by Kdbg when it loads an executable.
On Wednesday 12 October 2005 12:53 pm, Daniel Jacobowitz wrote:
> On Wed, Oct 12, 2005 at 12:29:24PM -0600, Brad Aisa wrote:
> > Here is the instructions someone was given from the kdbg people
> > who were trying to debug this, which I followed -- this is
> > basically the commands issued by Kdbg, as copied from a log of
> > launching with Kdbg:
> >
> > gdb
> > set editing off
> > set confirm off
> > set print static-members off
> > set print asm-demangle on
> > define kdbg__alllocals
> > info locals
> > info args
> > end
> > set prompt (kdbg)
> > file "clipview"
> > set args
> > info breakpoints
> > info line main
> >
> > At the "info line main" point I got:
> > Segmentation fault
>
> The binary you send me does not crash at this point in any version
> of GDB I tried. Have you build GDB CVS or 6.3 from source to try,
> rather than using the preinstalled packages on your system?
--
Brad Aisa <baisa at colorado dot edu>
Professional Research Assistant
Department of Psychology
University of Colorado - Boulder