Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: David Carlton <carlton@math.stanford.edu>
To: Bob Rossi <bob_rossi@cox.net>
Cc: gdb <gdb@sources.redhat.com>, Andrew Cagney <ac131313@redhat.com>,
	Elena Zannoni <ezannoni@redhat.com>
Subject: Re: bug in gdb.mi/mi-file.exp (or maybe in GDB)
Date: Wed, 09 Apr 2003 20:38:00 -0000	[thread overview]
Message-ID: <ro1he97h0dy.fsf@jackfruit.Stanford.EDU> (raw)
In-Reply-To: <20030409203024.GA22063@white>

On Wed, 9 Apr 2003 16:30:24 -0400, Bob Rossi <bob_rossi@cox.net> said:
> On Wed, Apr 09, 2003 at 01:01:41PM -0700, David Carlton wrote:

>> gdb.log says:
>> 
>> 111^done,line="23",file="gdb.mi/basics.c",fullname="/extra/gdb/mirror/src/gdb/testsuite/gdb.mi/basics.c"

> This is what I get, which passes
> 111^done,line="23",file="./gdb.mi/basics.c",fullname="/home/bob/cvs/src/gdb/testsuite/gdb.mi/basics.c"^

Ah. I guess maybe different versions of GCC differ as to whether or
not they include the './' in the filename in the debug info, or
something.

>> Should 'file' match .*${srcfile}
>> (without any slashes) and 'fullname' match ${srcfilepath}?

> I think your suggestion of what file should match is a good one.

Elena just raised a similar issue in annota1.exp.  So maybe we should
wait for the resolution there and then adopt the same solution for
'file' here.  (Though the format of 'file' is less crucial here, since
that's what 'fullname' is for.)

> The fullname match should probably not change. Since ${srcfilepath}
> is not guaranteed to be the absolute path to the source file.

Oh, right, duh.  I should have tested that before suggesting it!

David Carlton
carlton@math.stanford.edu


  reply	other threads:[~2003-04-09 20:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-09 20:01 David Carlton
2003-04-09 20:30 ` Bob Rossi
2003-04-09 20:38   ` David Carlton [this message]
2003-04-09 21:21     ` Elena Zannoni
2003-04-09 21:28       ` Bob Rossi
2003-04-09 22:09         ` Elena Zannoni
2003-04-09 20:54 ` Elena Zannoni

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=ro1he97h0dy.fsf@jackfruit.Stanford.EDU \
    --to=carlton@math.stanford.edu \
    --cc=ac131313@redhat.com \
    --cc=bob_rossi@cox.net \
    --cc=ezannoni@redhat.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