This is the mail archive of the gdb-patches@sourceware.org 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: [RFA] solib-som.c fix for hpux


> Date: Fri, 24 Mar 2006 13:25:37 +0800
> From: Randolph Chung <randolph@tausq.org>
> 
> Dan J's change to solib handling
> (http://sources.redhat.com/ml/gdb-patches/2006-01/msg00198.html) exposed
> a probably unfounded assumption in the SOM solib code that assumes that
> the solib_create_inferior_hook will always be called before current_sos.
> As a result, gdb cvs on HPUX 32-bit would always error out when trying
> to run any executable with the message "Debugging dynamic executables
> loaded via the hpux8 dld.sl is not supported.". The most straightforward
> fix is to remove the error and handle the case where there is not yet a
> link map; that is what I have in the patch below. OTOH this does remove
> the error message if anybody does try to run gdb on hpux8 (!!!)
> 
> Comments? ok to check in?

In any case, that error message is wrong; we really don't support
HP-UX 8 anymore.  So go ahead and slap this in.

> 2006-03-24  Randolph Chung  <tausq@debian.org>
> 
> 	* solib-som.c (link_map_start): Don't error out if there is
> 	not yet a link map.


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