Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: gdb@sources.redhat.com
Subject: Re: Path handling bug in GDB included with MingW 3.1.0-1
Date: Tue, 07 Oct 2003 23:22:00 -0000	[thread overview]
Message-ID: <20031007232234.GA13268@redhat.com> (raw)
In-Reply-To: <1438-Tue07Oct2003231328+0200-eliz@elta.co.il>

On Tue, Oct 07, 2003 at 11:13:28PM +0200, Eli Zaretskii wrote:
>>From: "Michael Stather" <michaelstather@nuzi.de>
>>Date: Sun, 5 Oct 2003 23:48:35 +0200
>> 
>> g++ -g -o p.exe c:/p/p.cpp -mwindows
>> gdb
>> break "c:/p/p.cpp:7"
>> Run
>> 
>> gdb won\x7ft stop at the breakpoint.
>> however if I do:
>> 
>> cd c:\m
>> g++ -g -o p.exe p.cpp -mwindows
>> gdb
>> break "p.cpp:7"
>> run
>> 
>> it breaks correctly.
>
>Sounds like the MinGW port isn't writing leading directories of the
>files into the debug info.
>
>Questions:
>
>What is the default debug info format used by the MinGW port of GCC?
>
>Does it help to use -gstabs+ instead of just -g?
>
>Do you see the leading directories of the source file names if you
>run "objdump --debug" on the object files?

Do we *really* want to go down the road of supporting a patched gdb
here?  There are people who are familiar with the changes that have gone
into mingw gdb in the mingw mailing list.  For whatever reason, they
have chosen not to spend any time getting their patches back into gdb
proper and do not, apparently, read this mailing list.

I don't see any reason why we should be taking up bandwidth trying to
support what is essentially a gdb fork here.  Do we support Apple's
gdb users here?  I don't think we do and this is a similar issue.

cgf


  reply	other threads:[~2003-10-07 23:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-05 21:48 Michael Stather
2003-10-05 22:48 ` Christopher Faylor
2003-10-07 21:30 ` Eli Zaretskii
2003-10-07 23:22   ` Christopher Faylor [this message]
2003-10-08  5:51     ` Eli Zaretskii
2003-10-08 13:43       ` Christopher Faylor
2003-10-08 18:20         ` Support for unofficial GDB (was: Path handling bug in GDB included with MingW 3.1.0-1) Eli Zaretskii
2003-10-08  0:34   ` Path handling bug in GDB included with MingW 3.1.0-1 Chris Johns
2003-10-08  5:54     ` Eli Zaretskii

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=20031007232234.GA13268@redhat.com \
    --to=cgf@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