Hi! We are facing a problem with GDB in our HP machine. The details are as follows. 1.GDB version: GDB version : HP GDB 2.0.01. HP Wlildebeest 2.0.01(based on GDB 4.17-hpwdb-980821) 2.Machine & OS Machine & OS : HP9000/C-3000 - HPUX ver 11.00 64 bit English. With latest Patch bundle from HP(March 2000 patch bundle) 3.Compiler used to compile GDB: No compiler was used to compile GDB. GDB was bundled with HP C/ANSI C developers bundle. When we install HP C/ANSI C developers bundle, it creaes an executable file named "gdb" in /opt/langtools/bin. 4.Compiler Used to compile our programs: HP ANSI C++ B3910B A.03.15 5.Copy of Make file: include ../../../netmos.cfg aCC = aCC BASE_DIR = $(NETMOS_ROOT)/sources/manager SOURCE_DIR = $(BASE_DIR)/ZMCNH1/src OBJECT_DIR = $(BASE_DIR)/ZMCNH1/obj ESMPRO_INCLUDE = $(BASE_DIR)/../win32/include INCLUDE_DIR = $(BASE_DIR)/../../include BIN_DIR = $(BASE_DIR)/../../bin LIBS = -Wl,+s -lMNK_trace -lMNH -lZMSIMXX -lNFMMSG00 -lMnh_isam -lisam -lsec -lpthread CDEBUG = -g -D_IFAS -DWIN32 -D_WINNT -DNDEBUG -D_CONSOLE -D_HP_UX 11_ -D_ACCPLUSPLUS_ -D_ZMCNH1_ +DA2.0 -D_REENTRANT FLAGS = $(CDEBUG) -I$(ESMPRO_INCLUDE) -I$(INCLUDE_DIR) OBJS = $(OBJECT_DIR)/ZMCNH13.o $(OBJECT_DIR)/ZMCNH17.o $(OBJECT_DIR)/Zmcnh12.o $(OBJECT_DIR)/Zmcnh16.o \ $(OBJECT_DIR)/Zmcnh11.o $(OBJECT_DIR)/Zmcnh15.o $(OBJECT_DIR)/Zmcnh10.o $(OBJECT_DIR)/ZMCNH14.o ZMCNH1.exe : $(OBJS) $(aCC) $(OBJS) -o$@ $(LIBS) mv ZMCNH1.exe $(BIN_DIR)/ZMCNH1.exe clean : rm -f $(OBJECT_DIR)/*.o CLEAN : rm -f $(OBJECT_DIR)/*.o $(OBJECT_DIR)/ZMCNH13.o : $(SOURCE_DIR)/ZMCNH13.C $(aCC) $(FLAGS) -c $(SOURCE_DIR)/ZMCNH13.C -o$(OBJECT_DIR)/ZMCNH13.o $(OBJECT_DIR)/ZMCNH17.o : $(SOURCE_DIR)/ZMCNH17.C $(aCC) $(FLAGS) -c $(SOURCE_DIR)/ZMCNH17.C -o$(OBJECT_DIR)/ZMCNH17.o $(OBJECT_DIR)/Zmcnh12.o : $(SOURCE_DIR)/Zmcnh12.c $(aCC) $(FLAGS) -c $(SOURCE_DIR)/Zmcnh12.c -o$(OBJECT_DIR)/Zmcnh12.o $(OBJECT_DIR)/Zmcnh16.o : $(SOURCE_DIR)/Zmcnh16.c $(aCC) $(FLAGS) -c $(SOURCE_DIR)/Zmcnh16.c -o$(OBJECT_DIR)/Zmcnh16.o $(OBJECT_DIR)/Zmcnh11.o : $(SOURCE_DIR)/Zmcnh11.c $(aCC) $(FLAGS) -c $(SOURCE_DIR)/Zmcnh11.c -o$(OBJECT_DIR)/Zmcnh11.o $(aCC) $(FLAGS) -c $(SOURCE_DIR)/Zmcnh15.c -o$(OBJECT_DIR)/Zmcnh15.o $(OBJECT_DIR)/Zmcnh10.o : $(SOURCE_DIR)/Zmcnh10.c $(aCC) $(FLAGS) -c $(SOURCE_DIR)/Zmcnh10.c -o$(OBJECT_DIR)/Zmcnh10.o $(OBJECT_DIR)/ZMCNH14.o : $(SOURCE_DIR)/ZMCNH14.C Description of the problem: GDB hangs when issuing the command "run" The terminal session: troika #pwd /netmoscm/RelToNECon240400/bin troika #ls .ddehist Testcases ZMCNH7.exe ZMJNH2.exe IT110101.txt Win32Remove ZMCNH8.exe ZMJNH6.exe MNH_XL_isam.log Win32TempCreate ZMCNHC.exe ZMJNHX.exe NCMASG.LOG ZMCNH1.exe ZMCNHT.exe del.txt NCMASGC ZMCNH2.exe ZMCNHZ.exe NCMDBVIEW ZMCNH4.exe ZMJNH1.exe troika #gdb ZMCNH1.exe HP gdb 2.0.01 Copyright 1986 - 1999 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 2.0.01 (based on GDB 4.17-hpwdb-980821) Wildebeest is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for Wildebeest. Type "show warranty" for details. Wildebeest was built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00. .. (gdb) b main Breakpoint 1 at 0x7fd4: file /netmoscm/RelToNECon240400/sources/manager/ZMCNH1/s rc/Zmcnh10.c, line 152. (gdb) run Starting program: /netmoscm/RelToNECon240400/bin/ZMCNH1.exe With this the the session hangs. We need to kill it to close the session. But when you create a small and simple C program and complile it, the GDB works fine. Our programs use some of the Shared libraries. Actions Taken: We reinstalled the OS and all other software. At first the GDB version was 4.16. We downloaded the GDB 4.17(HP WDB)from HP site and installed on the machine. Still problem exists. Any other Information: 1.Software installed in the machine: HPC/Ansi C Developers tool kit HP aC++ Oralce 8.0.5 Informix 2.Before reinstalling the OS, for some of the Object files we use to get this error when we use "run" command in gdb prompt. Warning:Unable to find __d_pid symbol in object file Warning:Suggest linking with /opt/langtools/lib/end.o Warning:GDB will be unbale to track shl_load/shl_unload calls And the session hangs with this. 3.We tried using HP DDE. The same problem exists. When we say "run" in the DDE prompt, the session hangs. 4.We have a similar machine (HP9000 - C3000) in which the gdb works fine. But the OS is HPUX ver 10.20 We'll be thankful if you could give some input in solving this problem. Regards, S.Karunanidhi, Wipro Ltd.,Bangalore,India. Contact information: S.Karunanidhi, Customer Services Engineer, Wipro Technologies, K-512,Koramangala, Bangalore-560 095 India. Phone:91-080-5538119,5538301 Ext.2554