You are not authorized to post comments.

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 of the innovators!

By Cameron Laird  Add a new comment

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.

ITworld LIVE

DevelopmentWhite Papers & Webcasts

Webcast On Demand

How to Distribute Apps to Your Mobile Workforce

When considering enterprise app deployment, you may find some unexpected challenges and a number of options that range from simple distribution to running your own enterprise market. How can you determine the best approach for your organization? MOTODEV for Enterprise can help you understand and evaluate current enterprise deployment technologies and learn best practices that support your choice.

Sponsor: Motorola Mobility

Webcast On Demand

Authentication, Certificates and VPNs

MOTODEV for Enterprise can help get you up to speed quickly on key topics such as how to enable secure access to a company intranet from outside the firewall. This webinar provides a clear explanation of terms and technologies and what they can do for your enterprise app development.

Sponsor: Motorola Mobility

Webcast On Demand

Improving Enterprise App Quality with MOTODEV App Validator

MOTODEV for Enterprise supports quality app development for businesses, government, and institutions with technical resources and tools such as the MOTODEV App Validator, a free static analysis testing tool.

Sponsor: Motorola Mobility

White Paper

HR Analytics: Driving Return on Human Capital Investments

In today's economy, it's critical for organizations to make employee retention and development a major business focus, to ensure that valuable employees are not lost as the economy improves. With advanced BI solutions, organizations can be supported by workforce analytics to drive return on human capital investment and to see the value the workforce delivers to organizational performance. This white paper demonstrates how the increased power of having metrics and analytic insight can align core HR business processes with organizational goals and strategies and help ensure organizations make the right business decisions today for tomorrow.

White Paper

Positioning the CIO as a Powerful Business Partner with IT Portfolio Governance

In this whitepaper, learn how you can become a visionary portfolio manager and transform IT into a streamlined revenue and profit center.

See more White Papers | Webcasts

Ask a question

Ask a Question