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 gdb/17035] New: "show user" doesn't list user-defined commands that have empty bodies.


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

            Bug ID: 17035
           Summary: "show user" doesn't list user-defined commands that
                    have empty bodies.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: palves at redhat dot com

Note how "foo" below isn't listed by "show user", while "bar" is:

(gdb) define foo
Type commands for definition of "foo".
End with a line saying just "end".
>end
(gdb) show user
(gdb)
(gdb) define bar
Type commands for definition of "bar".
End with a line saying just "end".
>asdf
>end
(gdb) show user 
User command "bar":
  asdf

(gdb)

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