LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2004, 07:10 AM   #1
krisprasad
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 04:15 PM
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 01:41 PM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 03:02 AM
How to use GDB ? indian Programming 4 09-06-2004 05:11 AM
Problems writing GDB exception handler stubs Dent Programming 0 10-28-2002 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration