mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 12:37:05 +08:00
gdb/
* tracepoint.c (stringify_collection_list): Remove parameter 'string'. (encode_actions): Caller update. Remove local variables.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2013-05-28 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
|
* tracepoint.c (stringify_collection_list): Remove parameter
|
||||||
|
'string'.
|
||||||
|
(encode_actions): Caller update. Remove local variables.
|
||||||
|
|
||||||
2013-05-24 Yao Qi <yao@codesourcery.com>
|
2013-05-24 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* tracepoint.c (TFILE_PID): Remove.
|
* tracepoint.c (TFILE_PID): Remove.
|
||||||
|
@ -1241,7 +1241,7 @@ clear_collection_list (struct collection_list *list)
|
|||||||
|
|
||||||
/* Reduce a collection list to string form (for gdb protocol). */
|
/* Reduce a collection list to string form (for gdb protocol). */
|
||||||
static char **
|
static char **
|
||||||
stringify_collection_list (struct collection_list *list, char *string)
|
stringify_collection_list (struct collection_list *list)
|
||||||
{
|
{
|
||||||
char temp_buf[2048];
|
char temp_buf[2048];
|
||||||
char tmp2[40];
|
char tmp2[40];
|
||||||
@ -1611,7 +1611,6 @@ void
|
|||||||
encode_actions (struct breakpoint *t, struct bp_location *tloc,
|
encode_actions (struct breakpoint *t, struct bp_location *tloc,
|
||||||
char ***tdp_actions, char ***stepping_actions)
|
char ***tdp_actions, char ***stepping_actions)
|
||||||
{
|
{
|
||||||
static char tdp_buff[2048], step_buff[2048];
|
|
||||||
char *default_collect_line = NULL;
|
char *default_collect_line = NULL;
|
||||||
struct command_line *actions;
|
struct command_line *actions;
|
||||||
struct command_line *default_collect_action = NULL;
|
struct command_line *default_collect_action = NULL;
|
||||||
@ -1656,10 +1655,8 @@ encode_actions (struct breakpoint *t, struct bp_location *tloc,
|
|||||||
memrange_sortmerge (&tracepoint_list);
|
memrange_sortmerge (&tracepoint_list);
|
||||||
memrange_sortmerge (&stepping_list);
|
memrange_sortmerge (&stepping_list);
|
||||||
|
|
||||||
*tdp_actions = stringify_collection_list (&tracepoint_list,
|
*tdp_actions = stringify_collection_list (&tracepoint_list);
|
||||||
tdp_buff);
|
*stepping_actions = stringify_collection_list (&stepping_list);
|
||||||
*stepping_actions = stringify_collection_list (&stepping_list,
|
|
||||||
step_buff);
|
|
||||||
|
|
||||||
do_cleanups (back_to);
|
do_cleanups (back_to);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user