This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/3] catch syscall -- try 5 -- XML support


> From: =?ISO-8859-1?Q?S=E9rgio?= Durigan =?ISO-8859-1?Q?J=FAnior?= <sergiodj@linux.vnet.ibm.com>
> Date: Wed, 22 Apr 2009 21:33:03 -0300
> 
> gdb/ChangeLog:
> 
> 2009-04-22  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
> 
> 	* syscalls/gdb-syscalls.dtd: New definition file for syscall's XML
> 	support.
> 	* syscalls/i386-syscalls.xml: New file for i386 syscalls.
> 	* syscalls/ppc-syscalls.xml: New file for PPC syscalls.
> 	* syscalls/ppc64-syscalls.xml: New file for PPC64 syscalls.

The last 3 entries name the files incorrectly, and also do not say
that the lists are for GNU/Linux systems that use these hardware
architectures.

> diff --git a/gdb/syscalls/i386-linux.xml b/gdb/syscalls/i386-linux.xml
> new file mode 100644
> index 0000000..6f2beee
> --- /dev/null
> +++ b/gdb/syscalls/i386-linux.xml
> @@ -0,0 +1,334 @@
> +<?xml version="1.0"?>
> +<!-- Copyright (C) 2007, 2008 Free Software Foundation, Inc.
> +
> +     Copying and distribution of this file, with or without modification,
> +     are permitted in any medium without royalty provided the copyright
> +     notice and this notice are preserved.  -->
> +
> +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
> +
> +<syscalls_info>
> +  <syscall name="restart_syscall" number="0"/>

Where does this information come from?  If there's some system file
from which you gleaned this, I'd suggest to name it here.  This is so
someone in the future could update this database per the OS
development.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]