follow function naming scheme
This commit is contained in:
parent
9007c40954
commit
cedd9f9ac4
@ -350,7 +350,7 @@ bool exec_command(char *packet, int len, const cmd_executer *exec)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void exec_qRcmd(const char *packet,int len)
|
static void exec_q_rcmd(const char *packet,int len)
|
||||||
{
|
{
|
||||||
char *data;
|
char *data;
|
||||||
int datalen;
|
int datalen;
|
||||||
@ -393,14 +393,14 @@ handle_q_string_reply(const char *str, const char *param)
|
|||||||
if(output_len>len) output_len=len;
|
if(output_len>len) output_len=len;
|
||||||
gdb_putpacket2("m",1,str+addr,output_len);
|
gdb_putpacket2("m",1,str+addr,output_len);
|
||||||
}
|
}
|
||||||
static void exec_qSupported(const char *packet, int len)
|
static void exec_q_supported(const char *packet, int len)
|
||||||
{
|
{
|
||||||
(void)packet;
|
(void)packet;
|
||||||
(void)len;
|
(void)len;
|
||||||
gdb_putpacket_f("PacketSize=%X;qXfer:memory-map:read+;qXfer:features:read+", BUF_SIZE);
|
gdb_putpacket_f("PacketSize=%X;qXfer:memory-map:read+;qXfer:features:read+", BUF_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void exec_qMemoryMap(const char *packet,int len)
|
static void exec_q_memory_map(const char *packet,int len)
|
||||||
{
|
{
|
||||||
(void)packet;
|
(void)packet;
|
||||||
(void)len;
|
(void)len;
|
||||||
@ -419,7 +419,7 @@ static void exec_qMemoryMap(const char *packet,int len)
|
|||||||
handle_q_string_reply(buf, packet);
|
handle_q_string_reply(buf, packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void exec_qFeatureRead(const char *packet, int len)
|
static void exec_q_feature_read(const char *packet, int len)
|
||||||
{
|
{
|
||||||
(void)len;
|
(void)len;
|
||||||
/* Read target description */
|
/* Read target description */
|
||||||
@ -434,7 +434,7 @@ static void exec_qFeatureRead(const char *packet, int len)
|
|||||||
handle_q_string_reply(target_tdesc(cur_target), packet );
|
handle_q_string_reply(target_tdesc(cur_target), packet );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void exec_qCRC(const char *packet, int len)
|
static void exec_q_crc(const char *packet, int len)
|
||||||
{
|
{
|
||||||
(void)len;
|
(void)len;
|
||||||
uint32_t addr, alen;
|
uint32_t addr, alen;
|
||||||
@ -453,11 +453,11 @@ static void exec_qCRC(const char *packet, int len)
|
|||||||
}
|
}
|
||||||
static const cmd_executer q_commands[]=
|
static const cmd_executer q_commands[]=
|
||||||
{
|
{
|
||||||
{"qRcmd,", exec_qRcmd},
|
{"qRcmd,", exec_q_rcmd},
|
||||||
{"qSupported", exec_qSupported},
|
{"qSupported", exec_q_supported},
|
||||||
{"qXfer:memory-map:read::", exec_qMemoryMap},
|
{"qXfer:memory-map:read::", exec_q_memory_map},
|
||||||
{"qXfer:features:read:target.xml:",exec_qFeatureRead},
|
{"qXfer:features:read:target.xml:",exec_q_feature_read},
|
||||||
{"qCRC:", exec_qCRC},
|
{"qCRC:", exec_q_crc},
|
||||||
|
|
||||||
{NULL,NULL},
|
{NULL,NULL},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user