Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Sergio Durigan Junior <sergiodj@redhat.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Improve and fix catch-syscall.exp
Date: Mon, 16 Dec 2013 17:50:00 -0000	[thread overview]
Message-ID: <52AF3D59.6030301@redhat.com> (raw)
In-Reply-To: <m37gb85p2o.fsf@redhat.com>

On 12/13/2013 11:05 PM, Sergio Durigan Junior wrote:> diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp
> index 7f1bd29..172890c 100644
> --- a/gdb/testsuite/gdb.base/catch-syscall.exp
> +++ b/gdb/testsuite/gdb.base/catch-syscall.exp
> @@ -24,7 +24,7 @@ if { [is_remote target] || ![isnative] } then {
>  }
>  
>  # Until "catch syscall" is implemented on other targets...
> -if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then {
> +if { ![istarget "*-linux*"] } {
>      continue
>  }

Why's that?  AFAICS, hpux does support catching syscalls, at
least by number I assume should work.  See
TARGET_WAITKIND_SYSCALL_ENTRY, etc. being handled in
inf-ttrace.c.  It might be better to leave the testing exposed
there, even if it might be failing miserably.

Otherwise, looks like good forward progress to me,
irrespective of where the discussion about syscall numbers
leads (seems like even if we got the numbers from the
program, we'd just tweak fill_all_syscalls_numbers), so
other than the above, it looks OK to me.

-- 
Pedro Alves


  parent reply	other threads:[~2013-12-16 17:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13 23:06 Sergio Durigan Junior
2013-12-15 18:31 ` Doug Evans
2013-12-15 18:44   ` Doug Evans
2013-12-16  4:24     ` Sergio Durigan Junior
2013-12-16  4:20   ` Sergio Durigan Junior
2013-12-16 23:09   ` Sergio Durigan Junior
2013-12-17 10:24     ` Pedro Alves
2013-12-17 17:35       ` Sergio Durigan Junior
2013-12-18 21:10         ` Doug Evans
2013-12-18 22:26           ` Sergio Durigan Junior
2013-12-16 17:50 ` Pedro Alves [this message]
2013-12-16 17:59   ` Sergio Durigan Junior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52AF3D59.6030301@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=sergiodj@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox