parent
542f2429f3
commit
ed24dcc05f
|
@ -861,15 +861,15 @@ ObjectFileELF::ParseDynamicSymbols()
|
|||
|
||||
user_id_t dyn_id = GetSectionIndexByType(SHT_DYNAMIC);
|
||||
if (!dyn_id)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
SectionList *section_list = GetSectionList();
|
||||
if (!section_list)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
Section *dynsym = section_list->FindSectionByID(dyn_id).get();
|
||||
if (!dynsym)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
ELFDynamic symbol;
|
||||
DataExtractor dynsym_data;
|
||||
|
|
|
@ -516,7 +516,7 @@ AcceptPortFromInferior (void *arg)
|
|||
char pid_str[256];
|
||||
::memset (pid_str, 0, sizeof(pid_str));
|
||||
ConnectionStatus status;
|
||||
const size_t pid_str_len = file_conn.Read (pid_str, sizeof(pid_str), NULL, status, NULL);
|
||||
const size_t pid_str_len = file_conn.Read (pid_str, sizeof(pid_str), 0, status, NULL);
|
||||
if (pid_str_len > 0)
|
||||
{
|
||||
int pid = atoi (pid_str);
|
||||
|
|
Loading…
Reference in New Issue