Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb@sources.redhat.com
Subject: Re: RFC: Additional testsuite alternative
Date: Thu, 26 Sep 2002 13:47:00 -0000	[thread overview]
Message-ID: <3D937279.7060304@redhat.com> (raw)
In-Reply-To: <20020916192546.GA6174@nevyn.them.org>


> Source file two.cc:
> ===
> struct OneStruct {
>   int simple;
> };
> struct OneStruct StrOne;
> const struct OneStruct *ConstStrOnePtr;
> 
> int FunctionWithPtrs (const struct OneStruct *one, const int *two)
> {
>   return 0;
> }
> 
> int
> main ()
> {
>   return 0;
> }

The nice thing about GCC's framework is that it is a single C file.  Is 
the same possible here?  Comments would indicate where to set 
breakpoints and what values to print.

The test then involves running the program, and for each breakpoint, 
printing and checking the output.

(How would this .x file handle regular expressions?  That is the one 
thing I never figured out with the GCC framework.)

enjoy,
Andrew



  parent reply	other threads:[~2002-09-26 20:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16 12:25 Daniel Jacobowitz
2002-09-26 11:21 ` Daniel Jacobowitz
2002-09-26 12:51   ` David Carlton
2002-09-26 13:22   ` Fernando Nasser
2002-09-26 13:25     ` Daniel Jacobowitz
2002-09-26 14:05   ` Jim Blandy
2002-09-26 14:09     ` Daniel Jacobowitz
2002-09-26 13:47 ` Andrew Cagney [this message]
2002-09-26 13:57   ` Daniel Jacobowitz

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=3D937279.7060304@redhat.com \
    --to=ac131313@redhat.com \
    --cc=drow@mvista.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