public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15012] New: online docs for "alias" command are unclear
@ 2013-01-10 23:23 dje at google dot com
  2013-01-10 23:27 ` [Bug gdb/15012] " dje at google dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2013-01-10 23:23 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15012
           Summary: online docs for "alias" command are unclear
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dje@google.com
    Classification: Unclassified


The help docs for the "alias" command say this:

Usage: alias [-a] [--] ALIAS = COMMAND
ALIAS is the name of the alias command to create.
COMMAND is the command being aliased to.

A user could infer that COMMAND means command + arguments.

E.g.

alias nosegv = handle SIGSEGV nostop noprint pass
alias segv = handle SIGSEGV stop

This doesn't work, but the user could think it should.

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


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

* [Bug gdb/15012] online docs for "alias" command are unclear
  2013-01-10 23:23 [Bug gdb/15012] New: online docs for "alias" command are unclear dje at google dot com
@ 2013-01-10 23:27 ` dje at google dot com
  2013-01-11 15:59 ` tromey at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2013-01-10 23:27 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from dje at google dot com 2013-01-10 23:27:03 UTC ---
Same reasoning probably applies to the texinfo docs.

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


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

* [Bug gdb/15012] online docs for "alias" command are unclear
  2013-01-10 23:23 [Bug gdb/15012] New: online docs for "alias" command are unclear dje at google dot com
  2013-01-10 23:27 ` [Bug gdb/15012] " dje at google dot com
@ 2013-01-11 15:59 ` tromey at redhat dot com
  2013-01-11 17:33 ` dje at google dot com
  2023-12-31 16:01 ` ssbssa at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2013-01-11 15:59 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2013-01-11 15:59:35 UTC ---
(In reply to comment #0)

> alias nosegv = handle SIGSEGV nostop noprint pass
> alias segv = handle SIGSEGV stop
> 
> This doesn't work, but the user could think it should.

Rather than fixing the docs, maybe "alias" could be fixed
to make this work.  It seems possibly handy.

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


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

* [Bug gdb/15012] online docs for "alias" command are unclear
  2013-01-10 23:23 [Bug gdb/15012] New: online docs for "alias" command are unclear dje at google dot com
  2013-01-10 23:27 ` [Bug gdb/15012] " dje at google dot com
  2013-01-11 15:59 ` tromey at redhat dot com
@ 2013-01-11 17:33 ` dje at google dot com
  2023-12-31 16:01 ` ssbssa at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2013-01-11 17:33 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from dje at google dot com 2013-01-11 17:33:06 UTC ---
That was left for another day!!!
[the relative effort being sufficiently different]
But if someone wants to take it on ...

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


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

* [Bug gdb/15012] online docs for "alias" command are unclear
  2013-01-10 23:23 [Bug gdb/15012] New: online docs for "alias" command are unclear dje at google dot com
                   ` (2 preceding siblings ...)
  2013-01-11 17:33 ` dje at google dot com
@ 2023-12-31 16:01 ` ssbssa at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ssbssa at sourceware dot org @ 2023-12-31 16:01 UTC (permalink / raw)
  To: gdb-prs

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

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.1
         Resolution|---                         |FIXED
                 CC|                            |ssbssa at sourceware dot org
             Status|NEW                         |RESOLVED

--- Comment #4 from Hannes Domani <ssbssa at sourceware dot org> ---
(In reply to dje from comment #0)
> alias nosegv = handle SIGSEGV nostop noprint pass
> alias segv = handle SIGSEGV stop
> 
> This doesn't work, but the user could think it should.

This works since this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=cf00cd6faf31c208bbfe107140c26895412214bb

-- 
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:[~2023-12-31 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-10 23:23 [Bug gdb/15012] New: online docs for "alias" command are unclear dje at google dot com
2013-01-10 23:27 ` [Bug gdb/15012] " dje at google dot com
2013-01-11 15:59 ` tromey at redhat dot com
2013-01-11 17:33 ` dje at google dot com
2023-12-31 16:01 ` ssbssa 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).