bug-gdb
[Top][All Lists]
Advanced

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

gdb error and coredump


From: Ted Unangst
Subject: gdb error and coredump
Date: Thu, 12 Apr 2001 19:04:20 -0700 (PDT)

heorot:~> gdb ssh
GNU gdb 4.16.1
Copyright 1996 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 "i386-unknown-openbsd2.8"...
(gdb) break 537
Breakpoint 1 at 0x3608: file /usr/src/usr.bin/ssh/ssh/../ssh.c, line 537.
(gdb) run cardinal0.stanford.edu
Starting program: /home/tedu/ssh cardinal0.stanford.edu

Program received signal SIGTRAP, Trace/breakpoint trap.
0xdfbfd4f4 in ?? ()`: No such file or directory.
(gdb) run cardinal0.stanford.edu
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/tedu/ssh cardinal0.stanford.edu
Segmentation fault (core dumped)

the program runs just fine without the breakpoint.  the program i was
running was openssh-2.5.2, compiled with -O0 and -g.  there's nothing even
remotely fancy going on in the code at that point.  i can reproduce this
everytime.

ted unangst

--
"If you take out the killings, Washington actually has a very very
low crime rate."
      - M. Barry, Mayor of Washington, DC




reply via email to

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