LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

KDE Utils: new.symlink, launch, edit, browse, tofile

Posted 01-16-2012 at 01:43 PM by rainbowsally
Updated 01-16-2012 at 01:58 PM by rainbowsally

[Recommended: Kate (Advanced Text Editor).]

In my setup I have HOME/bin with a subdirectory named src where I put my private stockpile of micro-programs and where I can uninstall them easily by simply deleting the files or the directories containing them.

Under HOME/bin/src I have the directories named for the apps they contain, in some cases being collections of apps with additional subdirectories.

In order to put the apps in the path all that is necessary...
Member
Posted in Uncategorized
Views 4779 Comments 1 rainbowsally is offline
Old

Setting watchpoint for watching writes on a variable in C++ - GDB

Posted 01-16-2012 at 06:14 AM by TheIndependentAquarius
Updated 01-18-2012 at 09:48 AM by TheIndependentAquarius

Watchpoint basics:
  • Watchpoints are set on the variables, not on the functions or on the lines of code.
  • When the watched variables are read or written, the watchpoint gets triggered and the program's execution stops.

Watchpoints on non-global variables:
  • To set a watchpoint on a non-global variable, we must first set a breakpoint that will stop the program in the scope of the variable to be watched.
  • The watchpoint can be set after the program stops at the above set breakpoint.
  • To
...
Senior Member
Posted in GNU GDB
Views 5625 Comments 0 TheIndependentAquarius is offline
Old

See source code intermixed with assembly

Posted 01-16-2012 at 03:25 AM by hydraMax (Bits and Pixels)

Maybe everybody else already knows this, but I thought it was pretty neat anyway:

If you compile some C code with -g option (to include debugging symbols), you can then use objdump on the binary, with the -S switch, to get source code intermixed with assembly. For example, here is a snippet from one of my binaries:

Code:
int main() {
  401163:       55                      push   %rbp
  401164:       48 89 e5                mov    %rsp,%rbp
  401167:
...
Member
Posted in Uncategorized
Views 757 Comments 0 hydraMax is offline
Old

Stragest BugZ Part 2

Posted 01-15-2012 at 10:57 PM by rainbowsally
Updated 01-16-2012 at 12:48 AM by rainbowsally (code error)

[Edited: Corrected md5sum generator, Jan 15, 2012.]

Before I forget, I want to jot some notes on the screwiest bugs I've seen.

Kubuntu next.

I initially got the Live CD, version 11.10, but I have dialup. After playing with it a while I got 12.4 on the DVD and currently my Kubuntu is on mothballs but I do want to jot down a few things I noticed.

First of all, Kubuntu is so biased toward those with a high speed internet connection that I...
Member
Posted in Uncategorized
Views 384 Comments 0 rainbowsally is offline
Old

Slackware-13.37-Hacks-TrueCrypt

Posted 01-15-2012 at 07:40 PM by arniekat

You need to compile and install in the following order from SlackBuilds:

cryptoki-2.20
wxGTK-2.8.12
truecrypt-7.1

CREATING AN ENCRYPTED FILE-BASED CONTAINER

At the TrueCrypt dialog box, select "Create Volume".
Select "Create an encrypted file container" and click Next.
Select "Standard TrueCrypt Volume" and click Next.
At the Volume Location dialog box, click Select File.
Navigate...
LQ Newbie
Posted in Uncategorized
Views 826 Comments 0 arniekat is offline

  



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

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