Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <hui_zhu@mentor.com>
To: Doug Evans <dje@google.com>,
	Jan Kratochvil <jan.kratochvil@redhat.com>,
	Yao Qi <yao@codesourcery.com>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [PATCH] breakpoint remove fail handle bug fix
Date: Mon, 16 Apr 2012 09:50:00 -0000	[thread overview]
Message-ID: <4F8BE955.2090600@mentor.com> (raw)
In-Reply-To: <CADPb22SjsfjBfuBXK4ZkfLtG4BAFw8iWUZ-_v1DRrr6PaDWo2A@mail.gmail.com>

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


      reply	other threads:[~2012-04-16  9:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-11  9:32 Hui Zhu
2012-04-11 10:53 ` Yao Qi
2012-04-11 21:33 ` Jan Kratochvil
2012-04-12  4:04   ` Hui Zhu
2012-04-16 10:01     ` Jan Kratochvil
2012-04-16 16:42       ` Hui Zhu
2012-04-17 21:15     ` Jan Kratochvil
2012-04-12  4:45   ` Doug Evans
2012-04-12  4:35 ` Doug Evans
2012-04-16  9:50   ` Hui Zhu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F8BE955.2090600@mentor.com \
    --to=hui_zhu@mentor.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=yao@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox