Subject: Re: toolchain/32683: gdb can't step over strdup and co.
To: None <gnats-bugs@netbsd.org, toolchain-manager@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 01/31/2006 14:19:17
On Jan 31,  7:10pm, dillo@danbala.tuwien.ac.at (dillo@danbala.tuwien.ac.at) wrote:
-- Subject: toolchain/32683: gdb can't step over strdup and co.

| >Number:         32683
| >Category:       toolchain
| >Synopsis:       gdb can't step over strdup and co.
| >Confidential:   no
| >Severity:       serious
| >Priority:       medium
| >Responsible:    toolchain-manager
| >State:          open
| >Class:          sw-bug
| >Submitter-Id:   net
| >Arrival-Date:   Tue Jan 31 19:10:00 +0000 2006
| >Originator:     Dieter Baron
| >Release:        NetBSD 3.0
| >Organization:
| NetBSD
| >Environment:
| 	
| 	
| NetBSD legba 3.0 NetBSD 3.0 (LEGBA) #0: Sun Dec 25 23:59:10 MET 2005  root@wintermute:/usr/src/sys/arch/i386/compile/LEGBA i386
| Architecture: i386
| Machine: i386
| >Description:
| 	In gdb, when stepping over a line containing a call to
| 	strdup or strlen (and possibly others) with `n', gdb breaks
| 	in _init_fallthru:
| 
This is fixed in 1.109 of rtld.c, I've issued a pullup request.

christos