diff options
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 5cd4197..0bd1d56 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -60,6 +60,7 @@ struct stap_parse_info; struct ravenscar_arch_ops; struct elf_internal_linux_prpsinfo; struct mem_range; +struct syscalls_info; /* The architecture associated with the inferior through the connection to the target. @@ -1056,6 +1057,16 @@ typedef LONGEST (gdbarch_get_syscall_number_ftype) (struct gdbarch *gdbarch, pti extern LONGEST gdbarch_get_syscall_number (struct gdbarch *gdbarch, ptid_t ptid); extern void set_gdbarch_get_syscall_number (struct gdbarch *gdbarch, gdbarch_get_syscall_number_ftype *get_syscall_number); +/* The filename of the XML syscall for this architecture. */ + +extern const char * gdbarch_xml_syscall_file (struct gdbarch *gdbarch); +extern void set_gdbarch_xml_syscall_file (struct gdbarch *gdbarch, const char * xml_syscall_file); + +/* Information about system calls from this architecture */ + +extern struct syscalls_info * gdbarch_syscalls_info (struct gdbarch *gdbarch); +extern void set_gdbarch_syscalls_info (struct gdbarch *gdbarch, struct syscalls_info * syscalls_info); + /* SystemTap related fields and functions. A NULL-terminated array of prefixes used to mark an integer constant on the architecture's assembly. |