LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2008, 09:30 AM   #1
soararing
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Rep: Reputation: 0
GDB errors : Couldn't get registers: No such process.


Hi,

When I run gdb I am getting these errors.

.......
(gdb) next
Couldn't get registers: No such process.
(gdb)


I traced the program and it happens at user mode code

ptr = mmap(); //will call driver mmap implementation
*ptr++ = 10;

ptr point to a memory which is allocated in kernel mode and is mapped out to user mode by mmap.

So, what would be the problem? Anybody encounter this error before?

Thanks!
 
  


Reply



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
analyze process dump using GDB kskkumar Linux - Software 2 05-16-2009 05:41 AM
debugging remote process in gdb arunachalam Linux - Software 2 02-18-2008 10:27 PM
Generic error "cannot fetch general purpose registers for thread, no such process"? kranti Programming 0 10-22-2005 06:18 AM
How to use gdb to debug child process? ariana Programming 2 05-03-2005 01:50 PM
How can i attach gdb to a daemon process praveengujar Linux - General 0 08-11-2004 06:58 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:59 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
Open Source Consulting | Domain Registration