Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 15:07:33 +0200
From:      Tom Alsberg <alsbergt@cs.huji.ac.il>
To:        burawa <buract@yahoo.com>
Cc:        FreeBSD Hackers List <freebsd-hackers@freebsd.org>
Subject:   Re: Remote GDB online and kernel functions
Message-ID:  <20040112130732.GB403@cs.huji.ac.il>
In-Reply-To: <000d01c3d8ea$aa4dacf0$e014a8c0@unitpnnem56cwm>
References:  <20040111114539.GA53691@cs.huji.ac.il> <000d01c3d8ea$aa4dacf0$e014a8c0@unitpnnem56cwm>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, I'll look into that in GDB somewhen, when I have time if nobody
else has any idea...
I tried four functions from three different areas of the kernel, and
all crashed, so I didn't bother to try more...  But I'll try more
somewhen and see if I find functions which don't cause a panic...

  Thanks,
  -- Tom

On Mon, Jan 12, 2004 at 05:01:28PM +0800, burawa wrote:
> I am just suffering from such things in OpenBSD, it seems that it is
> a bug of gdb, which has  incorrect symbol relocation address  when
> calling some functions, so it may call an incorrect address of
> subroutines, thus ...
> I am not sure, but if I adjust link order of some .o when making
> kernel,  some functions which can not formerly be called from gdb
> may now be called and work well

-- 
  Tom Alsberg - hacker (being the best description fitting this space)
  Web page:	http://www.cs.huji.ac.il/~alsbergt/
DISCLAIMER:  The above message does not even necessarily represent what
my fingers have typed on the keyboard, save anything further.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040112130732.GB403>