public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/28406] New: add "exit" command as an alias for "quit"
@ 2021-10-01 12:31 pabs3 at bonedaddy dot net
  2021-10-01 12:33 ` [Bug cli/28406] " pabs3 at bonedaddy dot net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pabs3 at bonedaddy dot net @ 2021-10-01 12:31 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28406
           Summary: add "exit" command as an alias for "quit"
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: pabs3 at bonedaddy dot net
  Target Milestone: ---

I'm used to using an "exit" command to close shells and other REPL based
programs rather than the "quit" command used by gdb for this. I think it would
be helpful for people used to "exit" to have that aliased to the existing gdb
"quit" command by default.

For now I have added "alias exit = quit" to my ~/.gdbinit file, but I'll have
to re-add it whenever using another machine (like the GCC compile farm or a
Debian porterbox) or reinstalling my system, so having it by default would be
useful.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/28406] add "exit" command as an alias for "quit"
  2021-10-01 12:31 [Bug cli/28406] New: add "exit" command as an alias for "quit" pabs3 at bonedaddy dot net
@ 2021-10-01 12:33 ` pabs3 at bonedaddy dot net
  2021-11-23 14:29 ` lienze2010 at hotmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pabs3 at bonedaddy dot net @ 2021-10-01 12:33 UTC (permalink / raw)
  To: gdb-prs

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

Paul Wise <pabs3 at bonedaddy dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pabs3 at bonedaddy dot net

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/28406] add "exit" command as an alias for "quit"
  2021-10-01 12:31 [Bug cli/28406] New: add "exit" command as an alias for "quit" pabs3 at bonedaddy dot net
  2021-10-01 12:33 ` [Bug cli/28406] " pabs3 at bonedaddy dot net
@ 2021-11-23 14:29 ` lienze2010 at hotmail dot com
  2021-12-18 11:21 ` cvs-commit at gcc dot gnu.org
  2021-12-28 19:56 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: lienze2010 at hotmail dot com @ 2021-11-23 14:29 UTC (permalink / raw)
  To: gdb-prs

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

Enze Li <lienze2010 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lienze2010 at hotmail dot com

--- Comment #1 from Enze Li <lienze2010 at hotmail dot com> ---
I have submitted a patch and the documentation part is ok, the code part has
not been reviewed yet. I'm not sure if this feature is suitable for upstream.

For the record, patch posted
here:https://sourceware.org/pipermail/gdb-patches/2021-November/183371.html

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/28406] add "exit" command as an alias for "quit"
  2021-10-01 12:31 [Bug cli/28406] New: add "exit" command as an alias for "quit" pabs3 at bonedaddy dot net
  2021-10-01 12:33 ` [Bug cli/28406] " pabs3 at bonedaddy dot net
  2021-11-23 14:29 ` lienze2010 at hotmail dot com
@ 2021-12-18 11:21 ` cvs-commit at gcc dot gnu.org
  2021-12-28 19:56 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-12-18 11:21 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Joel Brobecker <brobecke@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fa8f0a0ff050352eb70ad7ccbcec87f99ced51e7

commit fa8f0a0ff050352eb70ad7ccbcec87f99ced51e7
Author: Enze Li <lienze2010@hotmail.com>
Date:   Sat Dec 18 15:19:12 2021 +0400

    gdb: add "exit" command as an alias for "quit"

    This command adds the "exit" command as an alias for the "quit"
    command, as requested in PR gdb/28406.

    The documentation is also updated to mention this new command.

    Tested on x86_64-linux.

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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/28406] add "exit" command as an alias for "quit"
  2021-10-01 12:31 [Bug cli/28406] New: add "exit" command as an alias for "quit" pabs3 at bonedaddy dot net
                   ` (2 preceding siblings ...)
  2021-12-18 11:21 ` cvs-commit at gcc dot gnu.org
@ 2021-12-28 19:56 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2021-12-28 19:56 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

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

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Done.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-28 19:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 12:31 [Bug cli/28406] New: add "exit" command as an alias for "quit" pabs3 at bonedaddy dot net
2021-10-01 12:33 ` [Bug cli/28406] " pabs3 at bonedaddy dot net
2021-11-23 14:29 ` lienze2010 at hotmail dot com
2021-12-18 11:21 ` cvs-commit at gcc dot gnu.org
2021-12-28 19:56 ` tromey at sourceware dot org

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).