public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception
       [not found] <bug-11031-4717@http.sourceware.org/bugzilla/>
@ 2011-04-12 22:09 ` jan.kratochvil at redhat dot com
  2011-05-06 15:26 ` jan.kratochvil at redhat dot com
  2011-08-02 19:08 ` tromey at redhat dot com
  2 siblings, 0 replies; 8+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-04-12 22:09 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kratochvil at redhat
                   |                            |dot com

-- 
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] 8+ messages in thread

* [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception
       [not found] <bug-11031-4717@http.sourceware.org/bugzilla/>
  2011-04-12 22:09 ` [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception jan.kratochvil at redhat dot com
@ 2011-05-06 15:26 ` jan.kratochvil at redhat dot com
  2011-08-02 19:08 ` tromey at redhat dot com
  2 siblings, 0 replies; 8+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-05-06 15:26 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #6 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-05-06 15:25:58 UTC ---
The `internal-error: expand_line_sal_maybe:' problem is now fixed by PR 12573.
But unaware of the MS-Windows issues.

-- 
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] 8+ messages in thread

* [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception
       [not found] <bug-11031-4717@http.sourceware.org/bugzilla/>
  2011-04-12 22:09 ` [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception jan.kratochvil at redhat dot com
  2011-05-06 15:26 ` jan.kratochvil at redhat dot com
@ 2011-08-02 19:08 ` tromey at redhat dot com
  2 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2011-08-02 19:08 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |tromey at redhat dot com
         Resolution|                            |FIXED

--- Comment #7 from Tom Tromey <tromey at redhat dot com> 2011-08-02 19:08:01 UTC ---
I think this was reported as fixed and there aren't
other open issues in this bug.  So, I'm closing it.
If I'm mistaken, please reopen and clarify, thanks.

-- 
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] 8+ messages in thread

* [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception
  2009-11-29 19:25 [Bug c++/11031] New: " eran dot ifrah at gmail dot com
                   ` (3 preceding siblings ...)
  2009-11-30  6:57 ` ppluzhnikov at google dot com
@ 2010-02-26  9:41 ` asmwarrior at gmail dot com
  4 siblings, 0 replies; 8+ messages in thread
From: asmwarrior at gmail dot com @ 2010-02-26  9:41 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From asmwarrior at gmail dot com  2010-02-26 09:41 -------
@Eran
Today, I also meet this kind of debug error when I'm trying to debug a program
built from mingw GCC 4.4.3. Finally, the latest GDB didn't have this problem.

I have some discussion on the Codeblocks's forum, you can see here:
http://forums.codeblocks.org/index.php/topic,11301.msg82105.html#msg82105


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception
  2009-11-29 19:25 [Bug c++/11031] New: " eran dot ifrah at gmail dot com
                   ` (2 preceding siblings ...)
  2009-11-30  6:01 ` eran dot ifrah at gmail dot com
@ 2009-11-30  6:57 ` ppluzhnikov at google dot com
  2010-02-26  9:41 ` asmwarrior at gmail dot com
  4 siblings, 0 replies; 8+ messages in thread
From: ppluzhnikov at google dot com @ 2009-11-30  6:57 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From ppluzhnikov at google dot com  2009-11-30 06:57 -------
(In reply to comment #3)

> I obtained my gdb from here:
>
https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/GDB-7.0/gdb-7.0-mingw32-bin.tar.gz/download

I just installed that copy, and observed the exact same output on my test
program from comment 2.

I suspect the problem may only be triggered by your real code, and not by the
test program. Please try to build the test program from comment 2, and if GDB
doesn't work for it, please paste your *entire* GDB session.

If GDB does work for the test program, then try to reduce your real executable
to the point where it contains no proprietary code and is small enought that it
can be attached to this PR.


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception
  2009-11-29 19:25 [Bug c++/11031] New: " eran dot ifrah at gmail dot com
  2009-11-29 19:26 ` [Bug c++/11031] " eran dot ifrah at gmail dot com
  2009-11-30  4:03 ` ppluzhnikov at google dot com
@ 2009-11-30  6:01 ` eran dot ifrah at gmail dot com
  2009-11-30  6:57 ` ppluzhnikov at google dot com
  2010-02-26  9:41 ` asmwarrior at gmail dot com
  4 siblings, 0 replies; 8+ messages in thread
From: eran dot ifrah at gmail dot com @ 2009-11-30  6:01 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From eran dot ifrah at gmail dot com  2009-11-30 06:01 -------
Can you please provide me a link to the gdb that you are using? if it solves my
problem, I can live with that :P

I obtained my gdb from here:
https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/GDB-7.0/gdb-7.0-mingw32-bin.tar.gz/download

Eran


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception
  2009-11-29 19:25 [Bug c++/11031] New: " eran dot ifrah at gmail dot com
  2009-11-29 19:26 ` [Bug c++/11031] " eran dot ifrah at gmail dot com
@ 2009-11-30  4:03 ` ppluzhnikov at google dot com
  2009-11-30  6:01 ` eran dot ifrah at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: ppluzhnikov at google dot com @ 2009-11-30  4:03 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From ppluzhnikov at google dot com  2009-11-30 04:03 -------
Does not reproduce for me using gdb-7.0 (official release) built with "gcc.exe
(GCC) 4.4.0" from:
http://sourceforge.net/projects/mingw/files/GCC%20Version%204/gcc-core-4.4.0-mingw32-bin.tar.gz/download

Here is what I see:

$ cat t.cc
int main(int argc, char *argv[])
{
  if (argc > 1)
    throw 1;
  return 0;
}

$ g++ -g t.cc -o t

$ ~/gdb-7.0/build-mingw32/gdb/gdb ./t.exe
GNU gdb (GDB) 7.0
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\cygwin\tmp/./t.exe...done.
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run 1
Starting program: C:\cygwin\tmp/./t.exe 1
[New Thread 6736.0x2b8]
Catchpoint 1 (exception thrown), __cxa_throw (obj=0x3f2580, tinfo=0x40e98c,
    dest=0) at ../../../../gcc-4.4.0/libstdc++-v3/libsupc++/eh_throw.cc:66
        in ../../../../gcc-4.4.0/libstdc++-v3/libsupc++/eh_throw.cc
(gdb) Error: dll starting at 0x77d40000 not found.
warning: Can not parse XML library list; XML support was disabled at compile time
Error: dll starting at 0x77d40000 not found.
Error: dll starting at 0x77c20000 not found.
66      ../../../../gcc-4.4.0/libstdc++-v3/libsupc++/eh_throw.cc: No such file
or directory.
where
#0  __cxa_throw (obj=0x3f2580, tinfo=0x40e98c, dest=0)
    at ../../../../gcc-4.4.0/libstdc++-v3/libsupc++/eh_throw.cc:66
#1  0x004013d0 in main (argc=2, argv=0x3f24f8) at t.cc:4
(gdb) c
Continuing.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
terminate called after throwing an instance of 'int'

Program exited with code 03.
(gdb) q



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception
  2009-11-29 19:25 [Bug c++/11031] New: " eran dot ifrah at gmail dot com
@ 2009-11-29 19:26 ` eran dot ifrah at gmail dot com
  2009-11-30  4:03 ` ppluzhnikov at google dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: eran dot ifrah at gmail dot com @ 2009-11-29 19:26 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From eran dot ifrah at gmail dot com  2009-11-29 19:26 -------
Forget to add: my OS is Windows XP sp3

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2011-08-02 19:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11031-4717@http.sourceware.org/bugzilla/>
2011-04-12 22:09 ` [Bug c++/11031] gdb terminates when trying to set breakpoint at C++ exception jan.kratochvil at redhat dot com
2011-05-06 15:26 ` jan.kratochvil at redhat dot com
2011-08-02 19:08 ` tromey at redhat dot com
2009-11-29 19:25 [Bug c++/11031] New: " eran dot ifrah at gmail dot com
2009-11-29 19:26 ` [Bug c++/11031] " eran dot ifrah at gmail dot com
2009-11-30  4:03 ` ppluzhnikov at google dot com
2009-11-30  6:01 ` eran dot ifrah at gmail dot com
2009-11-30  6:57 ` ppluzhnikov at google dot com
2010-02-26  9:41 ` asmwarrior at gmail dot com

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