gdb/
* tracepoint.c (trace_find_none_command): Remove. (_initialize_tracepoint): Call add_alias_cmd for "tfind none".
This commit is contained in:
parent
8128fd8ef7
commit
8acc406562
|
@ -1,3 +1,8 @@
|
||||||
|
2012-08-16 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
|
* tracepoint.c (trace_find_none_command): Remove.
|
||||||
|
(_initialize_tracepoint): Call add_alias_cmd for "tfind none".
|
||||||
|
|
||||||
2012-08-16 Yao Qi <yao@codesourcery.com>
|
2012-08-16 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* remote.c (handle_notification): Remove parameter 'length'.
|
* remote.c (handle_notification): Remove parameter 'length'.
|
||||||
|
|
|
@ -2404,13 +2404,6 @@ trace_find_end_command (char *args, int from_tty)
|
||||||
trace_find_command ("-1", from_tty);
|
trace_find_command ("-1", from_tty);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* tfind none */
|
|
||||||
static void
|
|
||||||
trace_find_none_command (char *args, int from_tty)
|
|
||||||
{
|
|
||||||
trace_find_command ("-1", from_tty);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* tfind start */
|
/* tfind start */
|
||||||
static void
|
static void
|
||||||
trace_find_start_command (char *args, int from_tty)
|
trace_find_start_command (char *args, int from_tty)
|
||||||
|
@ -5243,13 +5236,10 @@ Default is the current PC, or the PC of the current trace frame."),
|
||||||
&tfindlist);
|
&tfindlist);
|
||||||
|
|
||||||
add_cmd ("end", class_trace, trace_find_end_command, _("\
|
add_cmd ("end", class_trace, trace_find_end_command, _("\
|
||||||
Synonym for 'none'.\n\
|
|
||||||
De-select any trace frame and resume 'live' debugging."),
|
De-select any trace frame and resume 'live' debugging."),
|
||||||
&tfindlist);
|
&tfindlist);
|
||||||
|
|
||||||
add_cmd ("none", class_trace, trace_find_none_command,
|
add_alias_cmd ("none", "end", class_trace, 0, &tfindlist);
|
||||||
_("De-select any trace frame and resume 'live' debugging."),
|
|
||||||
&tfindlist);
|
|
||||||
|
|
||||||
add_cmd ("start", class_trace, trace_find_start_command,
|
add_cmd ("start", class_trace, trace_find_start_command,
|
||||||
_("Select the first trace frame in the trace buffer."),
|
_("Select the first trace frame in the trace buffer."),
|
||||||
|
|
Loading…
Reference in New Issue