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: [patch] Remove uses of deprecated_registers from hppah-nat.c


   Date: Sat, 20 Nov 2004 13:04:03 -0500 (EST)
   From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>

   > 2004-11-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
   > 
   > 	* infttrace.h (ttrace_write_reg_64): Add prototype.
   > 	* hppah-nat.c (store_inferior_registers): Fix warning from ambiguous
   > 	expression.  
   > 	(store_inferior_registers): Correct formatting.  Replace uses of
   > 	deprecated_registers with calls to regcache_raw_read,
   > 	regcache_raw_write_part and regcache_raw_read_part.

Please check this in.  It's obviously correct since it removes
deprecated stuff and makes things build again ;-) We can always fix
any fallout later.

   > HP-UX 11(i) is still broken; it really needs a clean new inf-ttrace.c.
   > You might get away with configuring GDB with --host=hppa-hp-hpux10.20
   > on HP-UX 11(i) if you don't care about threads support.

   I've been doing quite a few HP-UX 11(i) build as Randolph added fixes.
   Sure, a lot of stuff is broken but a lot of stuff works as well.  For
   example, watchpoint support surprisingly works on hppa64.

I think I was more talking about 10.20 than 11.x when I said that most
of the fancy stuff was broken anyway.

   > We can discuss changes required to fix the hpux target, but let's not
   > assume that hpux support will be gone in the next release (which is
   > what's currently in the NEWS file...)

   Bah, it appears that I have wasted my time given the politics of HP-UX
   support in the gdb project.

Well, your patch removes the reason why HP-UX was listed to be removed
in the NEWS file.  So a big thank-you from me (and probably all other
people with an interest in HP-UX).

About the politics.  Everything except GNU/Linux is a second class
citizen in GNU-land.  I really hope that given enough support from the
userbase we can give other platforms a place too.  I'll stronly oppose
any unreasonable attempt to remove features that such platforms depend
on.

Unfortunately the HP-UX support in GDB has many problems.  It'll
require a significant amount of work to keep it alive.  I hope you'll
continue to help with that.

Personally, I think we can increase the likelyhood of continued HP-UX
support by getting rid of some of the badly implemented HP-UX-only
features.  That's why I just committed that HP-UX 10.20 change.
Hopefully we can do something like it for HP-UX 11.x.  I sincerely
hope you don't view this as if I'm throwing away the stuff that you
spent hours of time on to get it working again.

Mark


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