Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: guest
Subject: Re: best UNIX OS as primary platform for UNIX system software develpoment?
Date: 1996/08/20	[thread overview]
Message-ID: <4vb3m4$ci3@knot.queensu.ca> (raw)
In-Reply-To: 4v9jaf$406@eccdb1.pms.ford.com


In article <4v9jaf$406@eccdb1.pms.ford.com> amk@ba0024.ba.ford.com
wrote:
> Had to respond to this: "For example, HP-UX doesn't allow you to attach
> to a process from a debugger...".  Check out the man page (from HP-UX)
> on xdb, specifically the -P option.  We do this all the time.
>

I don't know what JianLin means when he say "HP-UX doesn't allow you
to attach to a process from a debugger ...". However, I will agree with
him if he means "have trouble to attach". Our company upgradated to 
HP-UX 10 recently and I do get trouble on attaching a running process 
For small test code, there is no problem at all. But when trying to 
attach our real code process(we do vfork()+ *exec()* because we use 
pthread and need to avoid the hassle of thread resource management in 
child process, so, attaching is the easiest way to catch and debug the 
child process), the xdb simply issues "Attach failed":

   %guest: ps -fu guest

     UID   PID  PPID  C    STIME TTY       TIME COMMAND
   guest 16548     1  0 17:42:44 ?         0:00 bin/a.out
    ... 

   %guest: xdb -d src bin/a.out -P 16548
   ....
   Attaching process 16548
   Attach failed
   %guest:

without further message. I am not work with JianLin despite we post 
from same domain(I work in SF Bay and he in Toronto believe me or not). 
So, if he has same trouble (i just know that from his post and your 
followup)on attaching running process with xdb, then xdb must has some 
bugs on attaching process not documented by the man page and the Release 
Notes. Of cause, my code certainly has *lots of* bugs. That is what the
xdb for, isn't it? 

However, I am not trying to say HP is a good or poor system for 
development job(actually, I would like to work on HP for some kind job 
and like to work on other platforms for other kinds of projects). 
Sometime, you would like pick one depend on what you are going to do
(for example, I am now using DCE which is boundled with HP, so I will
not consider solaris or sunos even they are also nice and systems) and 
sometime you simply have no choice.

-g

>Tony Kruse
>SysAdmin
>Ford Vehicle Operations Emissions Lab
>Allen Park, Mi USA
>akruse1@ford.com




  reply	other threads:[~1996-08-20  4:00 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-16  4:00 best UNIX OS as primary platform for UNIX system software develpoment? Jianlin Chang
1996-08-16  4:00 ` Ron Natalie
1996-08-17  4:00   ` Ping Huang
1996-08-17  4:00   ` Jianlin Chang
1996-08-19  4:00     ` Bill Deegan
1996-08-19  4:00     ` James Youngman
1996-08-19  4:00       ` Jianlin Chang
1996-08-19  4:00     ` Jeff Diewald
1996-08-20  4:00     ` Ron Natalie
1996-08-19  4:00   ` Jianlin Chang
1996-08-22  4:00     ` Jason C R Hill
1996-08-21  4:00   ` Richard Cognot
1996-08-17  4:00 ` David-Michael Lincke
1996-08-17  4:00 ` Andrew Gabriel
1996-08-18  4:00   ` Nick Sayer
1996-08-19  4:00 ` amk
1996-08-20  4:00   ` guest [this message]
1996-08-19  4:00 ` Matt Houseman x4408
1996-08-19  4:00   ` Thomas Graichen
1996-10-17  4:00     ` sukumar
1996-08-27  4:00   ` Martin Ibert
1996-08-29  4:00     ` Wojciech Galazka
1996-08-29  4:00       ` Scott G. Hall
1996-08-30  4:00         ` Jon Reeves
1996-08-30  4:00         ` R!ch
1996-08-30  4:00         ` Timothy M. Wieman
1996-09-01  4:00         ` John J. Rushford
1996-09-02  4:00           ` Pawel Wezgowiec
1996-08-29  4:00     ` Mike Miscevic
1996-09-04  4:00       ` Patrick Horgan
1996-09-02  4:00   ` mib
1996-09-02  4:00   ` mib
1996-09-02  4:00     ` Robert Lipe
1996-09-04  4:00       ` Tom Kelly
1996-09-03  4:00   ` mib
1996-09-06  4:00     ` Per Schr�der
1996-09-03  4:00   ` Chuck Dillon
1996-09-03  4:00     ` Poll Dubh
1996-09-06  4:00     ` Paul T. Wilson
1996-09-09  4:00       ` Chuck Dillon
1996-09-03  4:00   ` Martin Knoblauch
1996-09-04  4:00   ` Urs Thuermann
1996-09-05  4:00     ` Peter Gross
1996-09-05  4:00   ` Ronald Fischer
1996-09-05  4:00   ` mib
1996-09-06  4:00   ` mib
1996-09-06  4:00   ` Peter Mayne
1996-09-06  4:00     ` Eric Fischer
1996-09-09  4:00     ` Dan Pop
1996-09-11  4:00       ` Richard Tobin
1996-09-12  4:00         ` Lawrence Kirby
1996-09-13  4:00           ` Dan Pop
1996-09-15  4:00             ` Lawrence Kirby
1996-09-13  4:00         ` Marc Roussel
1996-09-13  4:00     ` David Mosberger-Tang
1996-08-22  4:00 ` Roger Binns
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox