aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/xml-syscall.c13
2 files changed, 6 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c3649a8..e37a1de 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-06 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * xml-syscall.c (syscall_start_syscalls_info): Remove unused
+ function.
+
2010-05-06 Michael Snyder <msnyder@vmware.com>
* xml-support.c (xinclude_start_include): Delete unused variable.
diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c
index 0dc2239..9376ca1 100644
--- a/gdb/xml-syscall.c
+++ b/gdb/xml-syscall.c
@@ -169,17 +169,6 @@ syscall_create_syscall_desc (struct syscalls_info *sysinfo,
VEC_safe_push (syscall_desc_p, sysinfo->syscalls, sysdesc);
}
-/* Handle the start of a <syscalls_info> element. */
-static void
-syscall_start_syscalls_info (struct gdb_xml_parser *parser,
- const struct gdb_xml_element *element,
- void *user_data,
- VEC(gdb_xml_value_s) *attributes)
-{
- struct syscall_parsing_data *data = user_data;
- struct syscalls_info *sysinfo = data->sysinfo;
-}
-
/* Handle the start of a <syscall> element. */
static void
syscall_start_syscall (struct gdb_xml_parser *parser,
@@ -226,7 +215,7 @@ static const struct gdb_xml_element syscalls_info_children[] = {
static const struct gdb_xml_element syselements[] = {
{ "syscalls_info", NULL, syscalls_info_children,
- GDB_XML_EF_NONE, syscall_start_syscalls_info, NULL },
+ GDB_XML_EF_NONE, NULL, NULL },
{ NULL, NULL, NULL, GDB_XML_EF_NONE, NULL, NULL }
};