public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15438] New: dangling cleanup in keep_going
@ 2013-05-07 17:53 tromey at redhat dot com
  2013-05-07 18:00 ` [Bug gdb/15438] " palves at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: tromey at redhat dot com @ 2013-05-07 17:53 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15438
           Summary: dangling cleanup in keep_going
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


infrun.c:keep_going has one return that does not deal with cleanups:

      if (e.reason < 0)
        {
          exception_print (gdb_stderr, e);
          stop_stepping (ecs);
          return;
        }

It isn't clear to me whether this should do_cleanups or discard_cleanups.

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

* [Bug gdb/15438] dangling cleanup in keep_going
  2013-05-07 17:53 [Bug gdb/15438] New: dangling cleanup in keep_going tromey at redhat dot com
@ 2013-05-07 18:00 ` palves at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: palves at redhat dot com @ 2013-05-07 18:00 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> 2013-05-07 18:00:41 UTC ---
discard_cleanups.  The caller of handle_inferior_event will notice
stop_stepping was called (checks for !ecs->wait_some_more), and ultimately
normal_stop will end up being called.

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

end of thread, other threads:[~2013-05-07 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-07 17:53 [Bug gdb/15438] New: dangling cleanup in keep_going tromey at redhat dot com
2013-05-07 18:00 ` [Bug gdb/15438] " palves 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).