LinuxQuestions.org
Review your favorite Linux distribution.
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-07-2005, 11:02 PM   #1
phuna
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Rep: Reputation: 0
How to get next executed line


Hi all,
I'm using GDB, how do I get next executed line number in the source code

Best regards
 
Old 07-07-2005, 11:19 PM   #2
freegianghu
Member
 
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192

Rep: Reputation: 30
Re: How to get next executed line

Quote:
Originally posted by phuna
Hi all,
I'm using GDB, how do I get next executed line number in the source code

Best regards
Code:
(gdb) list
 
Old 07-08-2005, 12:05 AM   #3
phuna
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for your answer,
but if I use list multiple times, it will not display the next executed line. Is there any way that help me to get next executed line at *any* time
 
  


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
C++ text file line by line/each line to string/array Dimitris Programming 15 03-11-2008 08:22 AM
.bashrc not being executed, why? realos Linux - Newbie 1 12-20-2003 07:46 PM
TightVNC-->xstartup isn't executed.... pablovschby Linux - Networking 2 12-07-2003 09:57 AM
.bash_logout does not get executed nearfar Linux - Newbie 3 10-17-2003 11:40 AM
.xinitrc isn't executed hampel Linux - Software 5 08-06-2003 03:53 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration