This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] breakpoint remove fail handle bug fix


On 04/12/12 12:17, Doug Evans wrote:
On Wed, Apr 11, 2012 at 2:07 AM, Hui Zhu<hui_zhu@mentor.com> wrote:
(gdb) d
Delete all breakpoints? (y or n) y
warning: Error removing breakpoint 2

At this point:


(gdb) i b
(gdb) # breakpoint is gone as far as gdb is concerned

Eewwww. :-(

Yes. I handle this issue through is deleted them from the breakpoint list and put them to a special list. When the GDB try to remove the breakpoint, it will try again with this list.


I suggest that even if we can fix the issue that make the target-async get that breakpoint error, I need a way to handle the error in breakpoint part.

What do you think about it?

Thanks,
Hui


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]