projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change delegation for to_read_description
[deliverable/binutils-gdb.git]
/
gdb
/
xml-syscall.c
diff --git
a/gdb/xml-syscall.c
b/gdb/xml-syscall.c
index d4261966503480df1ef891270f76d7ffdce5e79b..31d4ae63ef3f195c422a5dbafcbd92abc43cbef2 100644
(file)
--- a/
gdb/xml-syscall.c
+++ b/
gdb/xml-syscall.c
@@
-1,7
+1,7
@@
/* Functions that provide the mechanism to parse a syscall XML file
and get its values.
/* Functions that provide the mechanism to parse a syscall XML file
and get its values.
- Copyright (C) 2009
, 2010, 2011
Free Software Foundation, Inc.
+ Copyright (C) 2009
-2014
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-126,7
+126,7
@@
static const char *xml_syscall_file = NULL;
static struct syscalls_info *
allocate_syscalls_info (void)
{
static struct syscalls_info *
allocate_syscalls_info (void)
{
- return X
ZALLOC
(struct syscalls_info);
+ return X
CNEW
(struct syscalls_info);
}
static void
}
static void
@@
-151,7
+151,7
@@
free_syscalls_info (void *arg)
xfree (sysinfo);
}
xfree (sysinfo);
}
-struct cleanup *
+st
atic st
ruct cleanup *
make_cleanup_free_syscalls_info (struct syscalls_info *sysinfo)
{
return make_cleanup (free_syscalls_info, sysinfo);
make_cleanup_free_syscalls_info (struct syscalls_info *sysinfo)
{
return make_cleanup (free_syscalls_info, sysinfo);
@@
-161,7
+161,7
@@
static void
syscall_create_syscall_desc (struct syscalls_info *sysinfo,
const char *name, int number)
{
syscall_create_syscall_desc (struct syscalls_info *sysinfo,
const char *name, int number)
{
- struct syscall_desc *sysdesc = X
ZALLOC
(struct syscall_desc);
+ struct syscall_desc *sysdesc = X
CNEW
(struct syscall_desc);
sysdesc->name = xstrdup (name);
sysdesc->number = number;
sysdesc->name = xstrdup (name);
sysdesc->number = number;
This page took
0.023786 seconds
and
4
git commands to generate.