From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100159,805e0071ac25e02c X-Google-Attributes: gid100159,public X-Google-Thread: fc89c,805e0071ac25e02c X-Google-Attributes: gidfc89c,public X-Google-Thread: f6653,805e0071ac25e02c X-Google-Attributes: gidf6653,public X-Google-Thread: 11035d,805e0071ac25e02c X-Google-Attributes: gid11035d,public X-Google-Thread: 115614,805e0071ac25e02c X-Google-Attributes: gid115614,public X-Google-Thread: fcda7,805e0071ac25e02c X-Google-Attributes: gidfcda7,public X-Google-Thread: fee84,805e0071ac25e02c X-Google-Attributes: gidfee84,public X-Google-Thread: 10650a,805e0071ac25e02c X-Google-Attributes: gid10650a,public From: Jason C R Hill Subject: Re: best UNIX OS as primary platform for UNIX system software develpoment? Date: 1996/08/22 Message-ID: <321CDF48.2405@hpx1.is.ge.com>#1/1 X-Deja-AN: 175925369 references: <4v2j4b$2bs@knot.queensu.ca> <3214E7D0.1CEA@sensor.com> <4va3et$o7o@knot.queensu.ca> content-type: text/plain; charset=us-ascii organization: GE Information Services mime-version: 1.0 reply-to: jase@hpx1.is.ge.com newsgroups: comp.unix.solaris,comp.sys.sun.misc,comp.sys.hp.hpux,comp.unix.internals,comp.unix.programmer,comp.unix.aix,comp.unix.osf.osf1,comp.sys.sgi.misc x-mailer: Mozilla 3.0b6 (Win95; I) xdb -P attatches fine on HP-UX 10.01 (9000/837 G50) jase Jianlin Chang wrote: > > I found that on HP-UX 10.00 and 10.10, I can't attach to a process > using either gdb or xdb, but on HP-UX 9.01, I can. Previously, I had > been using primarily 10.x, that's why I can't do it. > > Ron Natalie (ron@sensor.com) wrote: > : Jianlin Chang wrote: > : > That is, which > : > should you start with, then porting to other platfroms? There are lots > : > of > : > difference between stability, and availability of system services to > : > aid system > : > software programming. For example, HP-UX doesn't allow you to attach > : > to a proces > : > s from a debugger. Some OS are still not very POSIX compliant. Any > : > comments? > > : The comment about HP-UX not allowing to connect to a process with the > : debugger is just blatently wrong. Try looking up the -P option. > > : Of course, the best platform is probably the most difficult one. In > : my opinion you should start with a DEC Alpha. It will catch your > : assumptions about pointer and integer sizes and give you an alternate > : view of byte orders. > > : The HP (where I do my development) has a vary "lenient" enviornment. > : The compiler will accept constructs that stricter ANSI compliant ones > : (notably the IRIX and DEC ones) don't allow. Also, there are some > : quirks in structure vs. pointer passing that cause bugs to go unnoticed > : on the HP (by the code actually working) that will bite you on other > : platforms.