This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [COMMIT] Enable new solib interface for HPUX


In reference to a message from Randolph Chung, dated Dec 12:
> This somewhat large patch adds in the hooks and Makefile changes needed
> to use the new solib interface. Testsuite results are similar to what we
> used to see with the old solib code (i tested hppa2.0w-hp-hpux11.11 and
> hppa64-hp-hpux11.11).
> 
> Committed, please let me know if you notice any problems :)

sigh, missed one bit. fixed with the following patch.

committed
randolph

2004-12-13  Randolph Chung  <tausq@debian.org>
 
	* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
	solib_get_solib_by_pc method through target vector.

Index: hppa-hpux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-hpux-tdep.c,v
retrieving revision 1.33
diff -u -p -r1.33 hppa-hpux-tdep.c
--- hppa-hpux-tdep.c	13 Dec 2004 04:06:15 -0000	1.33
+++ hppa-hpux-tdep.c	13 Dec 2004 08:40:58 -0000
@@ -822,7 +822,7 @@ initialize_hp_cxx_exception_support (voi
       args_for_find_stub args;
       static char message[] = "Error while finding exception callback hook:\n";
 
-      args.solib_handle = som_solib_get_solib_by_pc (eh_notify_callback_addr);
+      args.solib_handle = gdbarch_tdep (current_gdbarch)->solib_get_solib_by_pc (eh_notify_callback_addr);
       args.msym = msym;
       args.return_val = 0;
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]