what's wrong with my gdb?

Mikhail Teterin mi at aldan.algebra.com
Mon Oct 11 21:48:02 PDT 2004

Hi! The debugger does not seem to work after a recent (Sunday) upgrade.
What's wrong? Thanks!


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
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
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.

More information about the freebsd-current mailing list