This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/12410] New: define command terminates early on end with'command', ok on 'commands'


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

           Summary: define command terminates early on end with 'command',
                    ok on 'commands'
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
        AssignedTo: unassigned@sourceware.org
        ReportedBy: rbh00@netcom.com


This console output illustrates the problem:

(gdb) define foo
Type commands for definition of "foo".
End with a line saying just "end".
>b main
>command
>continue
>end
(gdb) define bar
Type commands for definition of "bar".
End with a line saying just "end".
>b main
>commands
 >continue
 >end
>end
(gdb) 

Note also that indention of the 'foo' case is wrong.

Expected result:  'command' should be usable identically with 'commands'; their
two descriptions 'help command' and 'help commands' are identical.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]