Bug 28406 - add "exit" command as an alias for "quit"
Summary: add "exit" command as an alias for "quit"
Status: UNCONFIRMED
Alias: None
Product: gdb
Classification: Unclassified
Component: cli (show other bugs)
Version: unknown
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-01 12:31 UTC by Paul Wise
Modified: 2021-10-01 12:33 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Wise 2021-10-01 12:31:25 UTC
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.