Date: Sun, 6 Jul 1997 14:20:01 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs Subject: Re: gnu/4042: gdb stackframe in static library shows not the calling function Message-ID: <199707062120.OAA06531@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/4042; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: dinoex@net2.dinoex.sub.org, FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: gnu/4042: gdb stackframe in static library shows not the calling function Date: Mon, 7 Jul 1997 07:09:19 +1000 > gdb doesn't sho the calling stack > in a function of a static linked library. > if an error ocurrs in the function, > ther is no information of the calling stack frame. This is caused by the function in the example (strlen) not having a frame pointer. The top frame or two gets lost. The problem is most obvious when there is only one or two frames. All functions written in assembler have this problem. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707062120.OAA06531>