Language Selection

English French German Italian Portuguese Spanish

GNU: GDB and Guile

Filed under
Development
GNU
  • GDB 9.1 released!
                GDB 9.1 released!
    
    Release 9.1 of GDB, the GNU Debugger, is now available.  GDB is
    a source-level debugger for Ada, C, C++, Go, Rust, and many other
    languages.  GDB can target (i.e., debug programs running on)
    more than a dozen different processor architectures, and GDB itself
    can run on most popular GNU/Linux, Unix and Microsoft Windows variants.
    GDB is free (libre) software.
    
    You can download GDB from the GNU FTP server in the directory:
    
            ftp://ftp.gnu.org/gnu/gdb
    
    The vital stats:
    
      Size   md5sum                            Name
      21MiB  f7e9f6236c425097d9e5f18a6ac40655  gdb-9.1.tar.xz
      38MiB  b6f0807334c273c78fd17df0f9b1c13a  gdb-9.1.tar.gz
    
    There is a web page for GDB at:
    
            http://www.gnu.org/software/gdb/
    
    That page includes information about GDB mailing lists (an announcement
    mailing list, developers discussion lists, etc.), details on how to
    access GDB's source repository, locations for development snapshots,
    preformatted documentation, and links to related information around
    the net.  We will put errata notes and host-specific tips for this release
    on-line as any problems come up.  All mailing lists archives are also
    browsable via the web.
    
    GDB 9.1 includes the following changes and enhancements:
    
    * Building GDB and GDBserver now requires GNU make >= 3.82.
    
    * If you choose to build GDB without using the GNU readline version bundled
      with the GDB sources, building GDB new requires GNU readline >= 7.0.
    
    * Removed targets and native configurations:
      - GDB no longer supports debugging the Cell Broadband Engine;
      - GDB no longer supports Solaris 10.
    
    * New TI PRU Simulator (pru-*-elf).
    
    * Python Enhancements:
      - GDB can now be compiled with Python 3 on Windows;
      - Various Python API enhancements;
    
    * Usability enhancements:
      - [experimental] Multithreaded symbol loading for higher performance
        (turned off by default, use 'maint set worker-threads unlimited'
        to turn this feature on);
      - Command names can now use the '.' character;
      - GDB can now place breakpoints on nested functions and subroutines
        in Fortran;
      - GDB now shows the Ada task names at more places, e.g. in task switching
        messages.
      - Styling enhancements to various commands to improve readability.
      - GDB now has a standard infrastructure to support dash-style command
        options ('-OPT').  One benefit is that commands that use it can
        easily support completion of command line arguments. Try "CMD
        -[TAB]" or "help CMD" to find options supported by a command.  Over
        time, we intend to migrate most commands to this infrastructure.
    
    * Enhancements to existing commands:
      - "printf" and "eval" can now print C-style and Ada-style strings
         without calling functions in the program;
      - "info sources" has been enhance to allow only printing files
        whose name match a REGEXP;
      - New value "presence" for the "set print frame-arguments" setting,
        to only indicate the presence of arguments with '...' instead
        of printing the argument names and values;
      - The "focus", "winheight", "+", "-", ">", "<" TUI commands are
        now case sensitive;
      - New options support for the following commands that allow overriding
        a number of relevant global settings (as set by e.g. "set print
        [...]" commands): "print", "compile print", "backtrace", "frame
        apply", "tfaas", "faas";
      - "info types" support for "-q" to disable printing of some header
        information;
      - In settings, "unlimited" can now be abbreviated with "u".
    
    * New commands:
      - "define-prefix" to define user-defined prefix commands;
      - "|" or "pipe" to execute a command and send its output to
        a shell command.
      - "with" to run a given command with a setting temporarily changed
        to a given value;
      - "set may-call-functions" to control whether subprogram can be
        called from GDB;
      - "set print finish [on|off]" to control whether the returned value
        should be printed when using the "finish" command;
      - "set print max-depth" to simplify the printing of deeply nested
        structures;
      - "set print raw-values [on|off]" to turn on and off pretty printers;
      - "set logging debugredirect [on|off]" to control whether to redirect
        debug output to the log file;
      - Various new "set style" commands;
      - "set print frame-info [...]" to control what information to print
        when printing a frame.
      - "set tui compact-source" to enable the "compact" mode for the TUI
        source window;
      - "info modules [...]" to query information about Fortran modules;
      - The "set/show print raw-frame-arguments" commands replace
        the "set/show print raw frame-arguments" (now with a dash instead of
        a space). The latter is now deprecated and may be removed in
        a future release.
    
    * New GDB/MI commands
      - "-complete" to list possible completions;
      - "-catch-throw", "-catch-rethrow", and "-catch-catch", the GDB/MI
        equivalent of the "catch throw", "catch rethrow", and "catch catch"
        commands (respectively);
      - "-symbol-info-functions", "-symbol-info-types", and
        "-symbol-info-variables", the GDB/MI equivalent of the "info functions",
        "info types", and "info variables" commands (respectively);
      - "-symbol-info-modules", "-symbol-info-module-functions",
        and "-symbol-info-module-variables", the GDB/MI equivalent of
        "info modules", "info module functions" and "info module variables".
    
    * Other MI changes
      - The default version of the MI interpreter is now 3 (-i=mi3);
      - The output of information about multi-location breakpoints (which is
        syntactically incorrect in MI 2) has changed in MI 3;
      - Backtraces and frames include a new optional field "addr_flags".
    
    * Several new builtin convenience variables
      - $_gdb_major and $_gdb_minor;
      - $_gdb_setting, $_gdb_setting_str, $_gdb_maint_setting and
        $_gdb_maint_setting_str
      - $_cimag and $_creal
      - $_shell_exitcode and $_shell_exitsignal
    
    * Miscellaneous enhancements:
      - Support for a new configure option "--with-system-gdbinit-dir",
        where system gdbinit files are to be loaded from at startup;
      - 'thread-exited' event is now available in the annotations interface;
      - The TUI SingleKey keymap is now named "SingleKey" (requires
        GNU readline >= 8.0).
    
  • GDB 9.1 Released With Multi-Threaded Symbol Loading, Kills Off Solaris 10

    On the plus side, GDB 9.1 has experimental multi-threaded symbol loading. This multi-threaded symbol loading should yield faster performance on modern multi-core systems and can be controlled via the worker-threads tunable.

    GDB 9.1 also continues improving upon the debugger's Python API, a number of new commands are present, new built-in convenience variables, and a variety of other improvements to this leading open-source debugger.

  • Andy Wingo: lessons learned from guile, the ancient & spry

    Like just about every year, last week I took the train up to Brussels for FOSDEM, the messy and wonderful carnival of free software and of those that make it. Mostly I go for the hallway track: to see old friends, catch up, scheme about future plans, and refill my hacker culture reserves.

    I usually try to see if I can get a talk or two in, and this year was no exception. First on my mind was the recent release of Guile 3. This was the culmination of a 10-year plan of work and so obviously there are some things to say! But at the same time, I wanted to reflect back a bit and look at the past with a bit of distance.

    So in the end, my one talk was two talks. Let's start with the first one. (I'm trying a new thing where I share my talks as blog posts. We'll see how this goes. I know the rendering can be a bit off relative to the slides, but hopefully it's good enough. If you prefer, you can just watch the video instead!)

Is that a GDB in your pipeline? Debugger hits 9.1

  • Is that a GDB in your pipeline? Debugger hits 9.1

    GDB users can now download version 9.1 of their fav debugger, which brings interesting additions such as a pipe command and multithreaded symbol loading to the GNU project.

    The latter has been added as an experimental feature to improve performance and can be enabled by using maint set worker-threads unlimited. Usability is also meant to be enhanced by better styled commands, and the facilitation of using . in command names. Infrastructure for dash-style commands has been set up to help with things like auto completion for command line arguments.

    Version 9.1 also comes with a couple of new commands, such as define-prefix, allowing users to define custom prefix commands, or with, which runs a command with the value given. Chaining commands meanwhile has been improved by the addition of | or pipe, which does its usual thing of executing a directive and sending the output to another shell command.

  • GDB 9.1 released

    Version 9.1 of the GNU debugger is out. There are many improvements; see the announcement and the changelog for details.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.