mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 13:57:12 +08:00
gdb/
2013-06-26 Pedro Alves <pedro@codesourcery.com> Yao Qi <yao@codesourcery.com> * tracepoint.c (trace_dump_command): GDB emits an error instead of a warning when a traceframe is not selected.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2013-06-26 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
|
* tracepoint.c (trace_dump_command): GDB emits an error
|
||||||
|
instead of a warning when a traceframe is not selected.
|
||||||
|
|
||||||
2013-06-26 Pedro Alves <pedro@codesourcery.com>
|
2013-06-26 Pedro Alves <pedro@codesourcery.com>
|
||||||
Yao Qi <yao@codesourcery.com>
|
Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
|
@ -2982,10 +2982,7 @@ trace_dump_command (char *args, int from_tty)
|
|||||||
struct cleanup *old_chain;
|
struct cleanup *old_chain;
|
||||||
|
|
||||||
if (tracepoint_number == -1)
|
if (tracepoint_number == -1)
|
||||||
{
|
error (_("No current trace frame."));
|
||||||
warning (_("No current trace frame."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
old_chain = make_cleanup (null_cleanup, NULL);
|
old_chain = make_cleanup (null_cleanup, NULL);
|
||||||
t = get_tracepoint (tracepoint_number);
|
t = get_tracepoint (tracepoint_number);
|
||||||
|
Reference in New Issue
Block a user