Development

GDB is a Platform

The gdb debugger is far from complete. It has capabilities to work with unusual architectures and configurations that are only beginning to be explored. You can be one

2 comments | 5I like it!
November 8, 2009, 12:02 PM — 

Recent posts emphasized the new capabilities the 7.0 release of gdb provides: it manages processes more adeptly, it works on more hardware, and so on. Even though gdb is older than all but very few applications, it has continued to improve.

It's far from done, though. One of the important features to learn about gdb, in fact, is recognition that it's more platform than product. By that I mean that its highest value is not necessarily to polish and refine particular functions so they're easy to use, but to make them possible so that innovators can explore them. gdb is in active competition for daily use with several other open-source and proprietary products, such as Intel's debugger. The latter is actually superior in a number of ways for multi-core debugging, for example, an emphasis of the previous post in this series.

Where gdb shines, though, is its openness. While quite a few of its features remain only half-baked, the nice thing about them is they work together. If you need remote debugging, on an obscure chipset, with reverse-execution capabilities, which inspects data drawn from multi-byte character sets, gdb is probably your best bet: although it's likely to show a few blemishes in such a situation, it at least "shows up to work", so you don't have to wait until proprietary vendors deliver.

More than many programmers realize, gdb is an experimental testbed for a wide variety of projects. It's good to learn gdb if only because so many other innovative initiatives, such as LLVM and Eclipse, depend on it, in one way or another. gdb tracks significant new technologies; it's feasible to debug JITted code with it, for example.

I personally only use gdb sporadically, and I certainly don't keep up with it well enough to understand where it's going after 7.0. I'm often frustrated by gdb's relative paucity of documentation, including "roadmaps" of plans for future maintenance and enhancement. I've seen enough of its history, though, to be confident it'll be around for many years to come, often at the leading edge of new work in chips, compilers, and debugging.

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Comments

Typo in the title?

I think the title should say GDB instead of GDP.
| reply

Of course!

plaes, you're absolutely right. Let's see how quickly I can correct that title ...
| reply
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace