From: Joel Brobecker <brobecker@gnat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Re-initializing a list after the control returns to gdb...
Date: Wed, 19 Feb 2003 19:24:00 -0000 [thread overview]
Message-ID: <20030219192422.GS2105@gnat.com> (raw)
In-Reply-To: <3E53C88E.90807@redhat.com>
> The code relies on global state so I think `target changed' is better -
> that way you know that your state is up-to-date. From memory, right now
> we've actually memory_changed and registers_changed (I think they should
> be merged). There is also a target run hook that insight uses.
Unfortunately `target changed' does not trigger at least every time
I need it to. I looked at the code, and it should basically trigger
everytime we change some data in memory.
A quick attempt with "set debug event 1" shows that the only events
I see in a simple "break; run" sequence are breakpoint events...
> That's the problem (you said sick), we've three:
> - gdb-events
> - chained hooks
> - simple hooks
> gdb-events started on the problem but lost direction.
I like the events mechanism, it's a paradigm that's used very widely.
But the gdb-event mechanism does not seem to allow several clients
subscribing for these events at the same time. This mechanism is
then very close to the simple hooks.
I am therefore thinking of implementing a new chained hook in place
of the direct call to ada_read_tasks_list. Would that be an acceptable
solution?
--
Joel
next prev parent reply other threads:[~2003-02-19 19:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-19 2:01 Joel Brobecker
2003-02-19 12:47 ` Andrew Cagney
2003-02-19 16:05 ` Joel Brobecker
2003-02-19 16:49 ` Andrew Cagney
2003-02-19 17:46 ` Joel Brobecker
2003-02-19 17:01 ` Andrew Cagney
2003-02-19 17:50 ` Joel Brobecker
2003-02-19 18:05 ` Andrew Cagney
2003-02-19 19:24 ` Joel Brobecker [this message]
2003-02-19 20:30 ` Andrew Cagney
2003-02-25 1:37 ` Joel Brobecker
2003-02-26 15:57 ` Andrew Cagney
2003-02-27 7:13 ` Joel Brobecker
2003-02-27 18:44 ` Andrew Cagney
2003-02-28 7:42 ` Joel Brobecker
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=20030219192422.GS2105@gnat.com \
--to=brobecker@gnat.com \
--cc=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.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