LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-14-2011, 02:23 AM   #1
skg.nit2000@gmail.com
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
gdb debugging exec from child process


Hi, Im using gdb for debugging my application..
I was able to debug child process(when fork comes) .. and in child process we have an exec call to ....
So the problem is, when the control come to exec , the exec process is executing at a time...
I could not debug the exec. process...
error is stack curruption due to same frame
So, is there any way to debug the exec process
 
Old 07-19-2011, 08:12 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moved: This thread is more suitable in <Programming> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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
Debugging hanging child process with strace Dogza Linux - Software 2 06-15-2011 02:55 AM
How to send input to ssh which exec-ed by child process ? john.daker Programming 4 11-06-2008 08:08 PM
debugging remote process in gdb arunachalam Linux - Software 2 02-18-2008 10:27 PM
setsid() without forking OR debugging forked process with gdb ta0kira Programming 3 08-09-2007 06:22 AM
How to use gdb to debug child process? ariana Programming 2 05-03-2005 01:50 PM

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

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