From: Muli Ben-Y. <mu...@mu...> - 2003-01-31 10:25:26
|
On Fri, Jan 31, 2003 at 11:17:43AM +0100, Jan Hudec wrote: > On Thu, Jan 30, 2003 at 03:51:44PM +0200, Avi Weit wrote: > > Hi , > > > > I have a debuging problem using ddd (3.3.1) with UML 2.4.19-48 ( but also > > with earlier releases , like UML 2.4.18-35 ) under host kernel of 2.4.19 > > and 2.4.2-2 . Please note that ddd run on the host and not inside UML. > > > > Here is the senario: > > > > I have compiled UML and its modules (gcc 2.96) as written in the HowTo > ^^^^ > If this is not a typo, it's probablt the problem! No official gcc-2.96 > exists. It's a RedHat prerelease of gcc-3.0 and is not able to compile > kernel properly. Actually, the first gcc-2.96 weren't able to compile kernels properly, but the later ones (those shipped with RH 7.3, for example), are fine. > In addition I have recently seen gdb getting all wrong > when I used gcc-3.*. So try with gcc-2.95 first. Something else to check is whether UML and the module are compiled with the exact same compiler. If they aren't try that. > Note: If it's really a RedHat system, gcc-2.95 should exists under > a name `kgcc' there. Only on RH 7.1 (and maybe 7.2). It was removed on 7.3, and I don't think it exists on 8.0. -- Muli Ben-Yehuda http://www.mulix.org http://syscalltrack.sf.net |