1834052 Members
2635 Online
110063 Solutions
New Discussion

Re: gdb

 
Dagmar Bendová
Advisor

gdb

Hallo,
I have installed sw gdb 3.3 (HP-UX 11.00)
I tried to open 2 sessions. I tried to run a command gdb in first session and last I redirected input to command gdb from second session for example:

first session /dev/pts/ta:
gdb ...... -tty=/dev/pts/tb

second sesion /dev/pts/tb
echo test

I have 2 question:
1. When I set terminal as stty raw at first session, command gdb is not runnig.
2. If I do not set terminal as raw - gdb is running but he does not communicate with second terminal session. Does some analyzer exists to find out where is problem?
Thanks.
xx
3 REPLIES 3
Jim Butler
Valued Contributor

Re: gdb

Check the permissions on your /dev/pts/tb files

I believe they should be 666 -

Let me know, I will put the email flag up - I worked this problem a year ago and will research what I did (will wait to hear)



You could try the wildebeest debugger instead, wdb. (but that is not your problem)



Man The Bilge Pumps!
Dagmar Bendová
Advisor

Re: gdb

The permissions are 666. I have still closer information.
I have installed Microsoft visual studio and there is installed HP plugin HP open studio. And I can run sw gdb over MVS. This plugin connect to HP-UX server, run command rlogin a then set terminal and run gdb.

Thanks.
xx
Jim Butler
Valued Contributor

Re: gdb

owner should be bin:bin on the port,

As far as an analyzer, you could try puma (comes with hpux)

good luck
Man The Bilge Pumps!