Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: "'gdb-patches\@sourceware.org'" <gdb-patches@sourceware.org>
Subject: Re: [patch] MI ignores conditions for pending breakpoints
Date: Wed, 25 Jul 2012 17:49:00 -0000	[thread overview]
Message-ID: <87zk6nhgu1.fsf@fleche.redhat.com> (raw)
In-Reply-To: <F7CE05678329534C957159168FA70DEC5C25003309@EUSAACMS0703.eamcs.ericsson.se>	(Marc Khouzam's message of "Wed, 25 Jul 2012 13:45:00 -0400")

>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:

Marc> -standard_testfile mi-pending.c mi-pendshr.c
Marc> -set lib_sl [standard_output_file mi-pendshr.sl]
Marc> +set libfile "mi-pendshr"
Marc> +standard_testfile mi-pending.c $libfile.c
Marc> +set lib_sl [standard_output_file $libfile.sl]

I think it is better to leave the standard_testfile call as-is:

    standard_testfile mi-pending.c mi-pendshr.c
    set lib_sl [standard_output_file mi-pendshr.sl]

and then

Marc> +mi_gdb_test "-break-insert -f -c x==4 ${libfile}.c:pendfunc2" \

... use ${srcfile2} here instead of ${libfile}.c

Setting srcfile2 is part of the contract of standard_testfile.

Tom


  reply	other threads:[~2012-07-25 17:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-21  3:04 Marc Khouzam
2012-07-23 19:08 ` Tom Tromey
2012-07-24 17:42   ` Marc Khouzam
2012-07-25 13:11     ` Marc Khouzam
2012-07-25 15:50       ` Tom Tromey
2012-07-25 17:45         ` Marc Khouzam
2012-07-25 17:49           ` Tom Tromey [this message]
2012-07-25 18:26             ` Marc Khouzam
2012-07-25 18:43               ` Tom Tromey
2012-07-25 18:38                 ` Marc Khouzam

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=87zk6nhgu1.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=marc.khouzam@ericsson.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