[rfc] Replace deprecated_target_new_objfile_hook by observer

Ulrich Weigand uweigand@de.ibm.com
Thu May 10 22:27:00 GMT 2007


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



More information about the Gdb-patches mailing list