Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-08-2011, 02:29 AM   #1
Registered: Oct 2011
Location: Bangalore,India
Posts: 59

Rep: Reputation: Disabled
gdb debugger and dynamic variables from command line arguments.

Hi, i have installed gdb. The purpose is to change the value of the global variable inside the kernel code from command line. I have declared like
static int sync_thread_log = 0;

I cant recompile the kernel eveyrtime i change the its value. So i have to its value from command line using gdb debugger.
If anyone knows how to do it, Please drop here.



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
[SOLVED] Command line arguments Programming 1 04-01-2011 07:11 AM
Command Line Arguments sidhuram Programming 4 09-06-2010 04:03 AM
how to write command line arguments as values, into a file which contains variables sathiawathi.m Linux - Newbie 2 07-17-2009 02:27 AM
Command line arguments bioinformatics_guy Linux - Newbie 2 02-12-2009 07:26 AM
command line arguments nickraj Programming 6 09-11-2006 01:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration