Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: gdb-patches@sourceware.org
Subject: Re: [rfc] Replace deprecated_target_new_objfile_hook by observer
Date: Fri, 11 May 2007 20:24:00 -0000	[thread overview]
Message-ID: <200705112024.l4BKOQIU029698@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <200705072116.l47LGwZ0017093@d12av02.megacenter.de.ibm.com> from "Ulrich Weigand" at May 07, 2007 11:16:58 PM

> doc/ChangeLog:
> 
> 	* observer.texi (GDB Observers): New observer "new_objfile".
> 
> ChangeLog:
> 
> 	* observer.sh: Add "struct objfile" forward declaration.
> 	* target.h (deprecated_target_new_objfile_hook): Remove.
> 	* symfile.c (deprecated_target_new_objfile_hook): Remove.
> 	(clear_symtab_users): Call observer_notify_new_objfile.
> 	(symbol_file_add_with_addrs_or_offsets): Likewise.
> 	* rs6000-nat.c: Include "observer.h".
> 	(vmap_ldinfo): Call observer_notify_new_objfile.
> 	(xcoff_relocate_core): Likewise.
> 	* remote.c (remote_new_objfile_chain): Remove.
> 	(remote_new_objfile): Do not call remote_new_objfile_chain.
> 	(_initialize_remote): Use observer_attach_new_objfile.
> 	* tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
> 	(tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
> 	(_initialize_tui_hooks): Use observer_attach_new_objfile.
> 	* aix-thread.c: Include "observer.h".
> 	(target_new_objfile_chain): Remove.
> 	(new_objfile): Do not call target_new_objfile_chain.
> 	(_initialize_aix_thread): Use observer_attach_new_objfile.
> 	* hpux-thread.c: Include "observer.h"
> 	(target_new_objfile_chain): Remove.
> 	(hpux_thread_new_objfile): Make static.  Do not call
> 	target_new_objfile_chain.
> 	(_initialize_hpux_thread): Use observer_attach_new_objfile.
> 	* linux-thread-db.c: Include "observer.h".
> 	(target_new_objfile_chain): Remove.
> 	(thread_db_new_objfile): Do not call target_new_objfile_chain.
> 	(_initialize_thread_db): Use observer_attach_new_objfile.
> 	* sol-thread.c: Include "observer.h".
> 	(target_new_objfile_chain): Remove.
> 	(sol_thread_new_objfile): Make static.  Do not call
> 	target_new_objfile_chain.
> 	(_initialize_sol_thread): Use observer_attach_new_objfile.
> 	* Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
> 	rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
> 	$(observer_h).

I've committed this now.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


      parent reply	other threads:[~2007-05-11 20:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07 21:17 Ulrich Weigand
2007-05-07 21:48 ` Daniel Jacobowitz
2007-05-07 22:30   ` Ulrich Weigand
2007-05-10 21:45     ` Daniel Jacobowitz
2007-05-10 22:27       ` Ulrich Weigand
2007-05-07 21:53 ` Eli Zaretskii
2007-05-11 20:24 ` Ulrich Weigand [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=200705112024.l4BKOQIU029698@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    /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