public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug cli/24860] Segfault on 'with' command with no argument
Date: Sun, 07 Jun 2020 16:38:09 +0000	[thread overview]
Message-ID: <bug-24860-4717-GKUaR2wjlW@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-24860-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=24860

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |9.1
         Resolution|---                         |FIXED
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This was fixed by 

commit 26c957f12762816a90d5145c7c527ca48c890855
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Aug 21 21:11:33 2019 +0100

    Fix nullptr in with_command_1

    Running 'with' without arguments crashes GDB.  This fixes it.

    gdb/ChangeLog:
    2019-08-21  Bogdan Harjoc  <harjoc@gmail.com>

            * cli/cli-cmds.c (with_command_1): Error out if no arguments.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

           reply	other threads:[~2020-06-07 16:38 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <bug-24860-4717@http.sourceware.org/bugzilla/>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-24860-4717-GKUaR2wjlW@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).