public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Omair Javaid <omair.javaid@linaro.org>
Cc: gdb-patches@sourceware.org, Patch Tracking <patches@linaro.org>
Subject: Re: [PATCH] testsuite/gdb.dwarf2: Enable dw2-error.exp tests for arm targets
Date: Thu, 19 Sep 2013 18:37:00 -0000	[thread overview]
Message-ID: <87k3icsln0.fsf@fleche.redhat.com> (raw)
In-Reply-To: <CANW4E-18_+FikhAR0tfE7-1vNuMLCiQEybgsdJhZk-UHrW_-ng@mail.gmail.com>	(Omair Javaid's message of "Thu, 19 Sep 2013 16:11:31 +0100")

>>>>> "Omair" == Omair Javaid <omair.javaid@linaro.org> writes:

Omair> Can you kindly direct me to DWARF assembler and how can I use to write
Omair> the above testcase.

The DWARF assembler is in gdb/testsuite/lib/dwarf.exp.
It has a large comment that explains most of how to use it;
plus a few specific comments next to some exported procs.
Search gdb.dwarf2 for Dwarf::assemble for some examples.

In this case I think the test case is just testing that gdb reacts
properly when the DWARF has an invalid version.  This is simple to do
with the assembler; just pass something unusual to the "cu" proc.

Tom

  reply	other threads:[~2013-09-19 18:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22  3:16 Omair Javaid
2013-07-22 16:06 ` Tom Tromey
2013-09-19 15:11   ` Omair Javaid
2013-09-19 18:37     ` Tom Tromey [this message]
2013-09-26 11:13       ` Omair Javaid
2013-09-27 19:56         ` Tom Tromey
2013-10-01  9:48           ` Omair Javaid
2013-10-01 10:05             ` Abid, Hafiz
2013-10-01 15:20               ` Tom Tromey
2013-12-02 20:43                 ` Omair Javaid
2013-12-03 20:37                   ` Tom Tromey
2013-10-01 15:19             ` Tom Tromey

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=87k3icsln0.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=omair.javaid@linaro.org \
    --cc=patches@linaro.org \
    /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).