[Bug gdb/13188] Allow specifying -silent in .gdbinit

pedro at codesourcery dot com sourceware-bugzilla@sourceware.org
Wed Sep 14 15:46:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=13188

Pedro Alves <pedro at codesourcery dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pedro at codesourcery dot
                   |                            |com

--- Comment #1 from Pedro Alves <pedro at codesourcery dot com> 2011-09-14 15:44:42 UTC ---
> Workaround: alias gdb='gdb -silent' in the shell.  That's a workaround since it
> won't apply then starting a gdb from places other than an interactive shell.

Just put this in your PATH instead:

#! /bin/sh
exec /usr/bin/gdb -silent "$@"

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Gdb-prs mailing list