public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/13776] New: Regression: warning: Error removing breakpoint 0
@ 2012-02-27 21:49 jan.kratochvil at redhat dot com
  2012-02-28 17:14 ` [Bug breakpoints/13776] " tromey at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-02-27 21:49 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 13776
           Summary: Regression: warning: Error removing breakpoint 0
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com
                CC: tromey@redhat.com
    Classification: Unclassified
            Target: x86_64-unknown-linux-gnu


#include <stdlib.h> 
int
main (void)
{
  exit (0);
}
-------------------------------------------------------------------------------
gcc -g
-------------------------------------------------------------------------------
(gdb) start
Temporary breakpoint 1, main () at exit0.c:5
5      exit (0);
(gdb) next
[Inferior 1 (process 2428) exited normally]
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
-------------------------------------------------------------------------------
625c318cdc3f4cda81d28a76878827b3930de728 is the first bad commit
commit 625c318cdc3f4cda81d28a76878827b3930de728
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 9 16:09:49 2010 +0000
    gdb
        PR c++/9593:

from the thread:
RFC: next/finish/etc -vs- exceptions
http://sourceware.org/ml/gdb-patches/2010-10/msg00109.html

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

* [Bug breakpoints/13776] Regression: warning: Error removing breakpoint 0
  2012-02-27 21:49 [Bug breakpoints/13776] New: Regression: warning: Error removing breakpoint 0 jan.kratochvil at redhat dot com
@ 2012-02-28 17:14 ` tromey at redhat dot com
  2012-03-02 19:26 ` cvs-commit at gcc dot gnu.org
  2012-03-02 19:32 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-02-28 17:14 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-02-28 17:14:41 UTC ---
Testing a fix.

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

* [Bug breakpoints/13776] Regression: warning: Error removing breakpoint 0
  2012-02-27 21:49 [Bug breakpoints/13776] New: Regression: warning: Error removing breakpoint 0 jan.kratochvil at redhat dot com
  2012-02-28 17:14 ` [Bug breakpoints/13776] " tromey at redhat dot com
@ 2012-03-02 19:26 ` cvs-commit at gcc dot gnu.org
  2012-03-02 19:32 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-03-02 19:26 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-03-02 19:26:27 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    palves@sourceware.org    2012-03-02 19:26:10

Modified files:
    gdb            : ChangeLog breakpoint.c breakpoint.h target.c 
                     thread.c 

Log message:
    2012-03-02  Tom Tromey  <tromey@redhat.com>
    Pedro Alves  <palves@redhat.com>

    PR breakpoints/13776:
    * breakpoint.c (breakpoint_init_inferior): Delete step-resume
    breakpoints.
    (delete_longjmp_breakpoint_at_next_stop): New.
    * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
    * target.c (generic_mourn_inferior): Call mark_breakpoints_out
    before deleting the inferior.  Add comments.
    * thread.c (clear_thread_inferior_resources): Don't delete lonjmp
    breakpoints immediately, but only on next stop.  Move that code
    next to where we mark other breakpoints for deletion.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13938&r2=1.13939
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.659&r2=1.660
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.h.diff?cvsroot=src&r1=1.175&r2=1.176
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.c.diff?cvsroot=src&r1=1.300&r2=1.301
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/thread.c.diff?cvsroot=src&r1=1.145&r2=1.146

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

* [Bug breakpoints/13776] Regression: warning: Error removing breakpoint 0
  2012-02-27 21:49 [Bug breakpoints/13776] New: Regression: warning: Error removing breakpoint 0 jan.kratochvil at redhat dot com
  2012-02-28 17:14 ` [Bug breakpoints/13776] " tromey at redhat dot com
  2012-03-02 19:26 ` cvs-commit at gcc dot gnu.org
@ 2012-03-02 19:32 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-03-02 19:32 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |7.5

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2012-03-02 19:32:12 UTC ---
Fixed.

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

end of thread, other threads:[~2012-03-02 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-27 21:49 [Bug breakpoints/13776] New: Regression: warning: Error removing breakpoint 0 jan.kratochvil at redhat dot com
2012-02-28 17:14 ` [Bug breakpoints/13776] " tromey at redhat dot com
2012-03-02 19:26 ` cvs-commit at gcc dot gnu.org
2012-03-02 19:32 ` tromey at redhat 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).