[Solved]need help using the gdb debugger and codelite
location: ubuntuforums.com - date: April 4, 2010
I'm trying to use the gdb debugger on a single file cpp and I'm getting some error messages that have me perplexed. I've set a break point F9 and engaged the debugger via F5 and I get this message in the the terminal session.
Code:
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
and this message in the IDE debugger:
Code:
Debug session started successfully!
Debuggee process ID: 7608
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/jonas/.codelit
Getting started using the GDB debugger to debug C/C++ source.
location: linuxquestions.com - date: February 26, 2015
A new la entry has been added:
Getting started using the GDB debugger to debug C/C++ source.
Quote:
problem i using emacs with gdb debugger?
location: linuxquestions.com - date: April 3, 2004
hello friends,
i am running emacs editor from one directory
in that same directory i have the hello.c file and compiled file hello.o
iam opeining the emacs editor and gdb from that one
putting the break on first line of the hello.c
so when i execute it using run
it is not showing the source in the buffer of the emacs editor
it is showing the signal as shown below.
"77 in ../sysdeps/i386/elf/start.S"
so pleae tell me what might be the problem
Need help using ksplice!
location:
linux.com - date:
June 30, 2009
hello i recently found out about ksplice which lets you perform updates without a reboot
i tried to install it but i dont know how to use it
i am pretty sure i installed it correctly
i installed it through the terminal by typing sudo apt-get install ksplice and everything went well (it shows up in the synamptc package manager as installed)
the problem is i dont know how to update using ksplice
there isnt anything in the ubuntu menu about ksplice and it doesnt show up in the panel either
i checked here [ http://www.ksplice.com/uptrack/using ] and it says you can insert a command to upgrade but this is what i get
[email protected]:~$ sudo uptrack-upgrade
sudo: uptrack-upgrade: command not found
[email protected]:~$ uptrack-upgrade
bash: uptrack-upgrade: command not found
i know there are updates availabe for my system since i checked using the regular ubuntu update manager
i cannot reboot since i am using a live cd and i desperately need to upgrade to the latest kernel for this reason
https://bu
Help using Android SDK
location: ubuntuforums.com - date: May 12, 2010
Hey guys,
I'm currently trying to get the android sdk setup with Netbeans 6.8 . I have downloaded the sdk and have gotten it setup in Eclipse with the ADT plugin, however I much prefer Netbeans since Eclipse is extremely buggy.
I have downloaded the nbandroid plugin and have setup a AVD, and have added the android platform, but when I go to create a new android application it either:
Doesn't recognize that I have added the android platformsSends me to an unknown file browsing menu that I have no idea what to do with. Whenever I select or try to add something it says the file already exists, or the file doesn't existDoesn't do anything
Can anyone help me with this problem? Thanks.
Here are the screenshots:
Need help using ipod 5G with banshee on Ubuntu 6.10
location: linuxquestions.com - date: March 14, 2007
Hi All,
This is my 1st post. I just got an ipod and I was wondering how to use it with linux. I tried gtkpod, and that would not work for me (it would not upload songs correctly). After that I looked at banshee, I almost got my ipod to work with that. The 2 problems I had were, m4a (or aac) files would not work with banshee. The 2nd is, manually updating songs to my ipod would not work. Anybody have ideas?
-Thanks,
Budgetperson
Need help using ksplice!
location:
linux.com - date:
June 30, 2009
hello i recently found out about ksplice which lets you perform updates without a reboot
i tried to install it but i dont know how to use it
i am pretty sure i installed it correctly
i installed it through the terminal by typing sudo apt-get install ksplice and everything went well (it shows up in the synamptc package manager as installed)
the problem is i dont know how to update using ksplice
there isnt anything in the ubuntu menu about ksplice and it doesnt show up in the panel either
i checked here [ http://www.ksplice.com/uptrack/using ] and it says you can insert a command to upgrade but this is what i get
[email protected]:~$ sudo uptrack-upgrade
sudo: uptrack-upgrade: command not found
[email protected]:~$ uptrack-upgrade
bash: uptrack-upgrade: command not found
i know there are updates availabe for my system since i checked using the regular ubuntu update manager
i cannot reboot since i am using a live cd and i desperately need to upgrade to the latest kernel for this reason
https://bu
[help]Using Ssh, How To See Server Specification
location: linuxquestions.com - date: April 22, 2004
I rented a dedicated RHL 9 Server from a webhost. I want to varify the server config, like
1. Which Processor, speed (host claims it is a p-4 2.0 ghz). How can I verify using SSH. I have root access.
2. which command tells me the disk space, RAM size, swap size?
3. how can I change swap memory size? Like if it is 512mb, how from ssh i could change it to 1GB?
4. How can I check if apache is installed or not? when I type rpm -qa apache it give me nothing.
5. I understand there are some packages that comes with RHL 9, like apache, php, mysql. How can I verify if those are up to date or not?
5. how can I uninstall the default apache/php or mysql installating and fresh install apache/php/mysql? I have a tutorail which tells me how to install them, but, i do not know how to uninstall default Red hat linux 9 instalation.
Thanks a lot guys.
[SOLVED] Expect Function Help Using Bash
location: linuxquestions.com - date: October 4, 2011
By no means am I scripting master nor a "expect" guru so afters days of frustration I have given up. I am trying to add a couple of functions using "expect" to automate an mysqldump over ssh and then have it scp the mysqldump back to the base to add it to our backup archives but have ran into a brick wall.
Code:
Need help using multiple variables within a line
location: linux.com - date: December 29, 2011
I have made a script which works fine. But when i include the for loop in my script in give errors. I know that this is an syntax error
./test.sh: line 17: ${test"$i"[0]} ${test"$i"[1]} ${test"$i"[2]} ${test"$i"[3]} ${test"$i"[4]}: bad substitution
Test1 Passed
./test.sh: line 17: ${test"$i"[0]} ${test"$i"[1]} ${test"$i"[2]} ${test"$i"[3]} ${test"$i"[4]}: bad substitution
Test1 Failed
./test.sh: line 17: ${test"$i"[0]} ${test"$i"[1]} ${test"$i"[2]} ${test"$i"[3]} ${test"$i"[4]}: bad substitution
Here is my script
#!/bin/bash
pre_result1=( 12.00 1.28 )
pre_result2=( 2.92 12.00 )
pre_result3=( 2.92 12.00 )
#pre_result3=12
test1=( s 3 3 4 5 )
test2=( p 2 5 7 )
test3=( r 2 5 7 )
for (( i=1; i<=3; i++ ))
do
./testelectronic <<< "${test"$i"[0]} ${test"$i"[1]} ${test"$i"[2]} ${test"$i
please wait...
Page: 1 2 3 4 5 6 7 8 9 10