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  2 comments

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.

2 comments

    Anonymous 2 years ago
    I think the title should say GDB instead of GDP.
    claird
    claird 2 years ago in reply to Anonymous
    plaes, you're absolutely right. Let's see how quickly I can correct that title ...

      Add a comment

      Post a comment using one of these accounts
      Or join now
      At least 6 characters

      Note: Comment will appear soon after you have activated your account.
      Obscene/spam comments will be removed and accounts suspended.
      The information you submit is subject to our Privacy Policy and Terms of Service.

      ITworld LIVE

      DevelopmentWhite Papers & Webcasts

      White Paper

      HP NonStop SQL Fundamentals whitepaper

      This whitepaper offers a detailed look into the fundamentals of HP NonStop SQL solutions. See how this system delivers unprecedented levels of application availability with fail-safe data integrity and meets the needs of enterprises with large-scale business critical applications.

      White Paper

      Nebraska Medical Center case study

      See how the Nebraska Medical Center implemented a SQL solution to make information more readily available to streamline operations, improve patient care and facilitate medical research with an enterprise solution running on HP NonStop servers.

      White Paper

      Concepts of NonStop SQL/MX

      For DBAs and developers who are familiar with Oracle solutions and want to learn about NonStop SQL/MX, this whitepaper provides an overview of the similarities and differences between the two products-with a specific focus on implementation.

      White Paper

      6 Things Your CIO Needs to Know About Requirements

      If your organization is not predictably successful on technology projects, there is likely an issue in requirements. CIOs must take action and own requirements maturity improvement. There are 6 main things a CIO must know about requirements.

      Webcast On Demand

      User Experience Monitoring

      In this webinar, you will learn hints & tips for improving end-user response times from Forrester Research analyst, Jean-Pierre Garbani.

      Sponsor: Nimsoft

      See more White Papers | Webcasts

      Ask a question

      Ask a Question