Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Datoda <datoda@yahoo.com>
Cc: gdb@sources.redhat.com
Subject: Re: PTRACE_SYSCALL on Intel Linux
Date: Thu, 22 Aug 2002 07:19:00 -0000	[thread overview]
Message-ID: <20020822142005.GA12965@nevyn.them.org> (raw)
In-Reply-To: <20020822141332.64923.qmail@web11201.mail.yahoo.com>

On Thu, Aug 22, 2002 at 07:13:32AM -0700, Datoda wrote:
> Hi,
> 
>    This ptrace request sigtraps at the entry and at
> the exit of a system call. It is not clear to me how
> to tell whether it's at the entry or at the exit. Does
> anyone have an idea? Thanks.

There is no way to tell.

If you use the TRACESYSGOOD option, you can at least distinguish it
from normal breakpoints.  Then you count how many you've had.  I have
some additional kernel patches to make TRACESYSGOOD work on all
architectures, but it should already work on Intel.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


      reply	other threads:[~2002-08-22 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22  7:13 Datoda
2002-08-22  7:19 ` Daniel Jacobowitz [this message]

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=20020822142005.GA12965@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=datoda@yahoo.com \
    --cc=gdb@sources.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