problems with gdb on 2.4 Kernel
Hi
I am facing some problems running gdb with 2.4 kernel
GDB Version:: GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
%uname -a
Linux 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
Problem::
I have a "core" file generated by 2.2 Kernel. I have been able to gdb core file on a 2.2.14 Kernel with no errors. I can see the stack trace correctly.
Now, i moved this "core " file to the above m/c ( with 2.4 Kernel P4 Dual processor)
Am not able to view all the symbols correctly. The stack is partially correct. I tried viewing
multiple core files -- all with the same 'half-correct" result
Sometimes i see that around 8/9 frames correclty, but sometimes even the first few frames
look incorrect
Note: the core is generated from a Single-threaded application
1) Is it possible to achieve what i am trying to do?
ie View a "core" generated by 2.2 kernel on a 2.4 kernel
2) If yes, is there anything i am missing? Any help will be greatly appreciated
thanks in advance
prasad
|