This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Replace deprecated_target_new_objfile_hook by observer
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: drow at false dot org (Daniel Jacobowitz)
- Cc: gdb-patches at sourceware dot org, eliz at gnu dot org
- Date: Fri, 11 May 2007 00:27:38 +0200 (CEST)
- Subject: Re: [rfc] Replace deprecated_target_new_objfile_hook by observer
Daniel Jacobowitz wrote:
> Well, looking at your SPU patches, that seems like a good use of this
> observer. So it's fine with me.
Thanks!
> All the other places you've converted are less clear; if you fixed
> exactly when the two existing observers get called they'd probably
> cover everything else. But per-objfile data wants a direct
> correlation with objfile creation.
I can try to convert the Linux thread target to use the other
observers as a follow-on patch. For Solaris and HP/UX I wouldn't
want to do a non-mechanical change without access to the target;
for AIX there are still weird things going on between rs6000-nat.c
and aix-thread.c (that I'll hopefully untangle at some point in
the future, but not right now ...).
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com