From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10445 invoked from network); 6 Mar 1998 16:35:16 -0000 Received: from mail11.voicenet.com (HELO voicenet.com) (207.103.0.37) by mail2.redhat.com with SMTP; 6 Mar 1998 16:35:16 -0000 Received: (qmail 8591 invoked from network); 6 Mar 1998 16:35:13 -0000 Received: from rotary96-pri.voicenet.com (HELO voicenet.com) (209.71.52.6) by mail11.voicenet.com with SMTP; 6 Mar 1998 16:35:13 -0000 Message-ID: <35002617.A66123EE@voicenet.com> Date: Fri, 06 Mar 1998 11:36:40 -0500 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: gdb & __stxncpy.S for alpha References: <199803061536.IAA05678@ellpspace.math.ualberta.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit thanks, but __stxncpy() is part of the alpha/glibc routines ( str...cpy() et al ). eventually stxncpy will get a bogus addr, but I have no way to see who did me in! I cannot get a stack trace at all if i breakpoint in __stxncpy(), regardless of the state of the stack! I may have to use the "c" version to see whats going on! its interesting though, i can get a stacktrace in strncpy() which is also assembler in the alpha. gat Michal Jaegermann wrote: > Uncle George wrote: > > > > what does this have to do with the kernel. __strxncpy.S is defined in > > sysdeps/alpha of glibc. > > i Mean i cannot do a gdb "where" on this function, as it does not go up the > > stack . > > Debuggers rely on some conventions followed by compilers when they > try to unwind a stack. If you are hacking some low level function in > an assembler you are free to disregard these conventions and apply > shortcuts. This, of course, does wonders for a debugging if you try > a backtrace from inside of such "weird" code. I do not know if this > is the case here.