This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/15104] New: deprecated_cmd_warning does not work forprefixed commands
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 06 Feb 2013 14:55:11 +0000
- Subject: [Bug cli/15104] New: deprecated_cmd_warning does not work forprefixed commands
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15104
Bug #: 15104
Summary: deprecated_cmd_warning does not work for prefixed
commands
Product: gdb
Version: HEAD
Status: NEW
Severity: minor
Priority: P2
Component: cli
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
Classification: Unclassified
When one calls deprecate_cmd for a command with prefix (=which was added to a
different list than &cmdlist) it never triggers.
deprecated_cmd_warning gets called only with the last part of the command, such
as for deprecated "target record" *text is just " record".
Moreover cmd_list_element->prefix is never set as GDB currently calls
add_prefix_cmd before adding its children but it was meant to be called
afterwards - only add_prefix_cmd sets the PREFIX field of children.
--
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.