From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14893 invoked by alias); 23 Apr 2009 15:28:03 -0000 Received: (qmail 14877 invoked by uid 22791); 23 Apr 2009 15:28:02 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ti-out-0910.google.com (HELO ti-out-0910.google.com) (209.85.142.184) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Apr 2009 15:27:57 +0000 Received: by ti-out-0910.google.com with SMTP id a1so90431tib.12 for ; Thu, 23 Apr 2009 08:27:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.110.47.17 with SMTP id u17mr95520tiu.50.1240500473985; Thu, 23 Apr 2009 08:27:53 -0700 (PDT) In-Reply-To: <1240499783.2000.92.camel@miki> References: <1240446781.2000.82.camel@miki> <1240499783.2000.92.camel@miki> Date: Thu, 23 Apr 2009 15:28:00 -0000 Message-ID: Subject: Re: [PATCH 0/3] catch syscall -- try 5 -- Introduction From: Hui Zhu To: =?ISO-8859-1?Q?S=E9rgio_Durigan_J=FAnior?= Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00649.txt.bz2 I got it because: #ifndef HAVE_LIBEXPAT /* Dummy functions to indicate that there's no support for fetching syscalls information. */ static void syscall_warn_user (void) { static int have_warned =3D 0; if (!have_warned) { have_warned =3D 1; warning (_("Can not parse XML syscalls information; XML support was " "disabled at compile time.")); } } const struct syscalls_info * xml_init_syscalls_info (const char *filename) { syscall_warn_user (); return NULL; } int xml_get_syscall_number (const struct syscalls_info *sysinfo, const char *syscall_name) { syscall_warn_user (); return UNKNOWN_SYSCALL; } const char * xml_get_syscall_name (const struct syscalls_info *sysinfo, int syscall_number) { syscall_warn_user (); return NULL; } int xml_number_of_syscalls (const struct syscalls_info *sysinfo) { syscall_warn_user (); return 0; } const char ** xml_list_of_syscalls (const struct syscalls_info *sysinfo) { syscall_warn_user (); return NULL; } #else /* ! HAVE_LIBEXPAT */ That is why I got this error. I don't have LIBEXPAT. Are you sure I got a error is a right way? Thanks, Hui 2009/4/23 S=E9rgio Durigan J=FAnior : > Hi Hui, > > On Thu, 2009-04-23 at 19:49 +0800, Hui Zhu wrote: >> I got: > > You must apply all the 3 patches in order to compile and use the > feature. > > Thanks, > > -- > S=E9rgio Durigan J=FAnior > Linux on Power Toolchain - Software Engineer > Linux Technology Center - LTC > IBM Brazil > >