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/17034] New: add way to remove user-defined command


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

            Bug ID: 17034
           Summary: add way to remove user-defined command
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: palves at redhat dot com

After you redefine a built-in command, there's no way to get back the original:

 (gdb) define file
 Really redefine built-in command "file"? (y or n) y
 Type commands for definition of "file".
 End with a line saying just "end".
 >end
 (gdb) file
 (gdb) 

We should have a way to undefine a user-defined command.

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