Tag Archives: unix

Find Files Installed by Yum

Yum is great isn’t it? All you do is tell it the name of the program or library and off it goes, installing files all over your computer, ready for you to use at the drop of a hat. However, sometimes it’s nice to know a little bit more about what yum is up to. […]

GDB Core Dump Files

What’s a Core Dump? It’s a file created when your program terminates abnormally. It contains a snapshot of the program’s state at the time of the failure. What does it look like? On Linux it will appear in the same location as the executable and will be named something like: core.4196 Where the number is […]

GDB Init Files Save Time At Startup

I can’t leave the subject of GDB alone for too long, so today I thought I’d talk about GDB init files. Each time GDB is run, it checks first your home directory and then the current directory for the existence of a file called .gdbinit. If it finds this file, it reads the contents and […]

GDB Conditional Breakpoints

Last week we looked at setting breakpoints in GDB. All well and good. But what if you have a large loop running and you only want to look at what’s happening as it nears the end? Do you really have to step through 99 iterations in a 100 item loop? Of course you don’t. Step […]