Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bob Rossi <bob@brasko.net>
To: gdb@sources.redhat.com
Subject: -file-list-exec-source-files testcase
Date: Tue, 24 Feb 2004 17:22:00 -0000	[thread overview]
Message-ID: <20040224172218.GA18323@white> (raw)

Hi,

I was wondering, the testcase I am writing for
-file-list-exec-source-files has output like

(gdb)
-file-list-exec-source-files
^done,files=[
{filename="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crtn.S"},
{filename="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crti.S"},
{filename="init.c"},
{filename="../sysdeps/i386/elf/start.S"},
{filename="./gdb.mi/basics.c",fullname="/home/bob/cvs/src/src/src/gdb/testsuite/gdb.mi/basics.c"}
]
(gdb)


There are no line breaks in the real output, that is for convenience above.

So, I was wondering, the output of the MI command looks like
{filename=.*}+ or {filename=.*,fullname=/.*}+
where you can have 0 or more filename or filename/fullname pairs. Since I 
am testing the program 'basics' should I just test the literal output of
this command when run against basics, or should I make it general so
that it should work for any output of -file-list-exec-source-files?

Hope this is clear.

Thanks,
Bob Rossi


             reply	other threads:[~2004-02-24 17:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-24 17:22 Bob Rossi [this message]
2004-02-24 23:27 ` 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=20040224172218.GA18323@white \
    --to=bob@brasko.net \
    --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