Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 00:47:57 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        current@FreeBSD.org
Subject:   what's wrong with my gdb?
Message-ID:  <200410120447.i9C4lvMa066944@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Hi! The debugger does not seem to work after a recent (Sunday) upgrade.
What's wrong? Thanks!

	-mi

mi@aldan:~/t (543) cc -g -o t t.c
mi@aldan:~/t (544) cat t.c
int main()
{
        return 0;
}
mi@aldan:~/t (545) gdb t
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd"...
(gdb) b main
Breakpoint 1 at 0x8048500: file t.c, line 3.
(gdb) r
Starting program: /home/mi/t/t 

Program exited normally.
You can't do that without a process to debug.
(gdb) 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410120447.i9C4lvMa066944>