LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-09-2008, 10:19 AM   #1
rike_lin
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
Is it possible to make kgdb and gdbserver work at the same time?


Dear All,

During studying Linux, I try to insmod 'kgdb' and run an application with 'gdbserver'. Then, I open two 'gdb' sessions to connect to each of them. It seems to be workable.

First, I focus on the debuging of the application by refering the gdb training guide. This is helpful for me. Then, I try to set the breakpoints for the called system calls by 'kgdb'. The breakpoint would be hit and make the system stop when the application calls such the sysetm call. I trace the kernel code step by setp. During this time, the 'gdb' session for 'gdbserver' is broken due to TCP timeout.

Does everyone know how to use 'kgdb' and 'gdbserver' at the same time for debugging? Thanks!

Rike_Lin.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to get gdbserver to connect rahulthewall3000 Linux - Networking 2 08-20-2008 04:45 AM
Make few apps work with alsa at the same time Padawan.AVT Linux - Software 0 06-24-2008 05:09 AM
need source code for gdbserver sekhar Linux - Software 1 06-06-2007 01:20 AM
1st time installing redhat - Make and Make Install does not work runlikeanantelope Linux - Newbie 4 02-19-2007 03:58 PM
Why time slot mentioned in /etc/security/time.conf doesn't work pihu Linux - Security 1 01-06-2006 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:00 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