public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/12843] New: gdb failed to set a breakpoint on Windows
@ 2011-06-05  1:57 asmwarrior at gmail dot com
  2011-08-18  8:23 ` [Bug gdb/12843] " keiths at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: asmwarrior at gmail dot com @ 2011-06-05  1:57 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12843

           Summary: gdb failed to set a breakpoint on Windows
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: asmwarrior@gmail.com


I build a gdb-7.3.50.20110604 cvs gdb version under MinGW and MSYS.

But when debugging, gdb failed to set a breakpoint, it seems it failed to
handle the windows style file path.

look at the log:

> break "E:/code/cb/cb_trunk/src/plugins/codecompletion/parser/parserthread.cpp:524"
No source file named E.
Breakpoint 2
("E:/code/cb/cb_trunk/src/plugins/codecompletion/parser/parserthread.cpp:524)
pending.
>>>>>>cb_gdb:

You see, "No source file named E.", this is the error message.

the gdb 20110401 cvs snapshot build works quite well on setting breakpoints. 

I found that the change in linespec.c in
http://sourceware.org/ml/gdb-cvs/2011-05/msg00255.html
and
http://sourceware.org/ml/gdb-cvs/2011-05/msg00196.html

maybe cause this issue.

If I replace the linespec.c with an old version of linespec.c before May 24,
2011, then gdb build 20110604snapshot can correctly set breakpoints under
Windows. 

the related discussion is 
http://sourceware.org/ml/gdb/2011-06/msg00030.html

asmwarrior
ollydbg from codeblocks' forum

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-05-28 19:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-05  1:57 [Bug gdb/12843] New: gdb failed to set a breakpoint on Windows asmwarrior at gmail dot com
2011-08-18  8:23 ` [Bug gdb/12843] " keiths at redhat dot com
2011-11-11 19:53 ` cvs-commit at gcc dot gnu.org
2011-11-11 19:54 ` cvs-commit at gcc dot gnu.org
2011-11-11 20:00 ` keiths at redhat dot com
2014-02-16 19:34 ` jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org

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).