public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Paul Pluzhnikov <ppluzhnikov@google.com>, Yao Qi <yao@codesourcery.com>
Subject: Re: [patch] Add tests for JIT debugging interface
Date: Wed, 12 Jan 2011 16:12:00 -0000	[thread overview]
Message-ID: <201101121611.30341.pedro@codesourcery.com> (raw)
In-Reply-To: <AANLkTimGiACMJOhbnVfpjOm3DRF1NHDEh4zt7ia4pMoV@mail.gmail.com>

On Wednesday 12 January 2011 15:08:00, Paul Pluzhnikov wrote:
> Is there a "standard" way to achieve this?

Run to main, and write whatever options you need to
(global) variables (e.g., "p count $count") instead of
using "set args".  You could leave the argc > 0 handling
in place if it makes it simpler to debug manually.
That, or compile the program with -DOPTION=FOO.  Some
tests do that instead.

-- 
Pedro Alves

  reply	other threads:[~2011-01-12 16:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11 23:28 Paul Pluzhnikov
2011-01-12  7:02 ` Yao Qi
2011-01-12 10:44   ` Pedro Alves
2011-01-12 15:19     ` Paul Pluzhnikov
2011-01-12 16:12       ` Pedro Alves [this message]
2011-01-12 17:23       ` Yao Qi
2011-01-12 17:33         ` Paul Pluzhnikov
2011-01-18 17:07           ` Paul Pluzhnikov
2011-01-19 19:27           ` Pedro Alves
2011-01-19 20:30             ` Paul Pluzhnikov
2011-01-19 21:04               ` Pedro Alves
2011-01-19 21:09               ` Yao Qi
2011-01-12 10:03 ` Pedro Alves

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=201101121611.30341.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ppluzhnikov@google.com \
    --cc=yao@codesourcery.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).