From: Yao Qi Date: Thu, 16 Aug 2012 07:26:16 +0000 (+0000) Subject: gdb/ X-Git-Tag: sid-snapshot-20120901~164 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8acc40656214b647cd7f078e6d2c7a13321e2be5;p=external%2Fbinutils.git gdb/ * tracepoint.c (trace_find_none_command): Remove. (_initialize_tracepoint): Call add_alias_cmd for "tfind none". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3229ea9..17b7651 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2012-08-16 Yao Qi + * tracepoint.c (trace_find_none_command): Remove. + (_initialize_tracepoint): Call add_alias_cmd for "tfind none". + +2012-08-16 Yao Qi + * remote.c (handle_notification): Remove parameter 'length'. (putpkt_binary, getpkt_or_notif_sane_1): Caller update. diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index e729d6d..a59f7b7 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -2404,13 +2404,6 @@ trace_find_end_command (char *args, int 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 */ static void 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); add_cmd ("end", class_trace, trace_find_end_command, _("\ -Synonym for 'none'.\n\ De-select any trace frame and resume 'live' debugging."), &tfindlist); - add_cmd ("none", class_trace, trace_find_none_command, - _("De-select any trace frame and resume 'live' debugging."), - &tfindlist); + add_alias_cmd ("none", "end", class_trace, 0, &tfindlist); add_cmd ("start", class_trace, trace_find_start_command, _("Select the first trace frame in the trace buffer."),