Subject: netbsd-4 - gdb
To: None <netbsd-users@netbsd.org>
From: rudolf <netbsd@eq.cz>
List: netbsd-users
Date: 10/19/2006 19:40:50
Hi,
there is something wrong with the gdb from base (netbsd-4, amd64,
Segmentation fault). Are there any plans to
move to gdb6 before the 4.0 release?
original base gdb:
$ gdb ./a.out
GNU gdb 5.3nb1
Copyright 2002 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 "x86_64--netbsd"...
(gdb) break 1
Segmentation fault (core dumped)
pkgsrc/devel/gdb6:
$ /usr/pkg/bin/gdb ./a.out
GNU gdb 6.2.1
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 "x86_64--netbsd"...
(gdb) break 1
Breakpoint 1 at 0x400f40: file check_envelope.c, line 1.
(gdb) quit
$
gdb from base with HAVE_GDB=6:
$ /usr/B/obj/destdir.amd64/usr/bin/gdb /tmp/c/a.out
GNU gdb 6.5
Copyright (C) 2006 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 "x86_64--netbsd"...
(gdb) break 1
Breakpoint 1 at 0x400f40: file check_envelope.c, line 1.
(gdb) quit
$
r.