Date: Thu, 18 Nov 1999 12:11:50 -0500 (EST) From: Bill Paul <wpaul@skynet.ctr.columbia.edu> To: current@freebsd.org Subject: gdb slain in drive-by commit, film at 11 Message-ID: <199911181711.MAA00637@skynet.ctr.columbia.edu>
next in thread | raw e-mail | index | archive | help
Gdb has stopped working recently in -current. In a snapshot from
October 24th, it's fine. In a snapshot from November 15th (before
the great gcc switchover), it's hosed. I've been told it's hosed in
today's -current as well. Here are the symptoms:
tuba# uname -sr
FreeBSD 4.0-19991115-CURRENT
tuba# cat f.c
#include <stdio.h>
main()
{
printf("hello world\n");
}
tuba# cc -g f.c
tuba# gdb -q a.out
(gdb) run
Starting program: /tmp/a.out
warning: find_solib: Can't read pathname for load map: Bad address
Segmentation fault (core dumped)
tuba#
A statically compiled executable works though:
tuba# cc -static -g f.c
tuba# gdb -q a.out
(gdb) run
Starting program: /tmp/a.out
hello world
Program exited with code 014.
(gdb)
Okay, 'fess up: who's the wise guy.
-Bill
--
=============================================================================
-Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu
Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
"It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
=============================================================================
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911181711.MAA00637>
