LinuxQuestions.org
Help answer threads with 0 replies.
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 09-18-2009, 10:31 PM   #1
disheng
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Red face gdb: Input/output error


When used gdb on UML, I met several problems:
1) When i startup gdb on UML, I got the error message: Couldn't write debug register:Input/output error.
2) When fork function is executed, I got the error message: thread_get_info_callback: cannot get thread info: generic error, and the gdb was hang.
3) When I debug multiple-thread program, gdb cannot catch the other thread. When i tried to use the cmd: thread <THREADID> to catch the other thread, segmentation fault occured.

BTW: When not on UML but linux server, these problems never occured when I did the same operations.

Who can help me? I have been blocked by these problems for a long time.
 
Old 09-19-2009, 12:20 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
because what you said went over my head
all i can say is are you sue your copy of gdb is good?
 
Old 09-20-2009, 10:09 PM   #3
disheng
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smeezekitty View Post
because what you said went over my head
all i can say is are you sue your copy of gdb is good?

When I made the rootfs for UML and installed the gdb rpm, there is one and only one error(error:%post(iputils-20020927-21.el4.x86_64) scriptlet failed, exit status 127)). I am not sure if the error will cause gdb this problem.

BTW: my gdb version is 6.3.0.0, I had ever tried to install gdb6.8 through making source code but rpm, and met the same problem.
 
  


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
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
k3b write error for dvd's (input/output) error mocean SUSE / openSUSE 3 06-27-2007 02:39 PM
RPM iinstallation [error: failed to stat /mnt/windows: Input/output error] Ameii83 Linux - Software 1 04-09-2007 07:05 AM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
Input/Output error sufiah Linux - Hardware 4 04-17-2005 07:03 PM

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

All times are GMT -5. The time now is 08:59 PM.

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