what's wrong with my gdb?

From: Mikhail Teterin <mi_at_aldan.algebra.com>
Date: Tue, 12 Oct 2004 00:47:57 -0400 (EDT)
Hi! The debugger does not seem to work after a recent (Sunday) upgrade.
What's wrong? Thanks!

	-mi

mi_at_aldan:~/t (543) cc -g -o t t.c
mi_at_aldan:~/t (544) cat t.c
int main()
{
        return 0;
}
mi_at_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) 
Received on Tue Oct 12 2004 - 02:48:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC