aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2010-05-07 03:41:33 +0000
committerSergio Durigan Junior <sergiodj@redhat.com>2010-05-07 03:41:33 +0000
commitf8e50cfe04e1015ff1eeaa1999d213901de2f68b (patch)
tree658a5d99b12a952a877b8d1d0401b341a7df70b8
parentc6913b7d1e1863c208fb6495b227ef5ea119243e (diff)
downloadgdb-f8e50cfe04e1015ff1eeaa1999d213901de2f68b.zip
gdb-f8e50cfe04e1015ff1eeaa1999d213901de2f68b.tar.gz
gdb-f8e50cfe04e1015ff1eeaa1999d213901de2f68b.tar.bz2
gdb/ChangeLog:
2010-05-06 Sergio Durigan Junior <sergiodj@redhat.com> * xml-syscall.c (syscall_start_syscalls_info): Remove unused function.
-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 }
};