Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sources.redhat.com
Subject: Re: [testsuite] Add test for setting breakpoints by full path
Date: Mon, 20 Sep 2004 00:18:00 -0000	[thread overview]
Message-ID: <20040920001824.GA24967@nevyn.them.org> (raw)
In-Reply-To: <20040920001159.GA20633@nevyn.them.org>

On Sun, Sep 19, 2004 at 08:11:59PM -0400, Daniel Jacobowitz wrote:
> This patch adds a test for a bug I found in using the full pathname to a
> file to set breakpoints.  I'll send along an analysis of the bug with the
> patch, in my next message.
> 
> I needed to generate unique failure messages for failures that occur in
> gdb_breakpoint, so I added an option to suppress its automatic "fail"
> case.
> 
> This test script depends on how the executable is compiled.  Therefore,
> it returns "untested" if the host is remote.  It copies its source file
> into the build directory, and compiles it using:
>   - an absolute pathname
>   - a relative pathname to the directory GDB is run in
>   - a relative pathname from a different directory
> 
> The last fails before symbols are loaded, without the patch I'll post.
> 
> Test OK?

Bad Dan!

Tested by running the testsuite on i386-pc-linux-gnu, no regressions.
One failure without the corresponding patch to symtab.c.  OK?

-- 
Daniel Jacobowitz


  reply	other threads:[~2004-09-20  0:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20  0:12 Daniel Jacobowitz
2004-09-20  0:18 ` Daniel Jacobowitz [this message]
2004-09-22 20:07 ` Michael Chastain
2004-10-04 22:00   ` 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=20040920001824.GA24967@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@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