mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
2012-03-23 Pedro Alves <palves@redhat.com>
* linux-low.c (linux_qxfer_libraries_svr4): Terminate the "library-list-svr4" element's start tag when the the DSO list is empty.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2012-03-23 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* linux-low.c (linux_qxfer_libraries_svr4): Terminate the
|
||||||
|
"library-list-svr4" element's start tag when the the DSO list is
|
||||||
|
empty.
|
||||||
|
|
||||||
2012-03-23 Pedro Alves <palves@redhat.com>
|
2012-03-23 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* linux-low.c (read_one_ptr): Read the inferior's pointer through
|
* linux-low.c (read_one_ptr): Read the inferior's pointer through
|
||||||
|
@ -5630,7 +5630,13 @@ linux_qxfer_libraries_svr4 (const char *annex, unsigned char *readbuf,
|
|||||||
lm_addr = l_next;
|
lm_addr = l_next;
|
||||||
}
|
}
|
||||||
done:
|
done:
|
||||||
strcpy (p, "</library-list-svr4>");
|
if (!header_done)
|
||||||
|
{
|
||||||
|
/* Empty list; terminate `<library-list-svr4'. */
|
||||||
|
strcpy (p, "/>");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
strcpy (p, "</library-list-svr4>");
|
||||||
}
|
}
|
||||||
|
|
||||||
document_len = strlen (document);
|
document_len = strlen (document);
|
||||||
|
Reference in New Issue
Block a user