From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,950eeaaa6bea99b9,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-09-23 10:57:13 PST Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!julienas!pasteur.fr!jussieu.fr!univ-lyon1.fr!scsing.switch.ch!sun.rediris.es!goofy.fi.upm.es!laurel.datsi.fi.upm.es!mliebana Newsgroups: comp.unix.osf.osf1 Subject: Debugging server with gdb Message-ID: <1993Sep23.184858.112@goofy.fi.upm.es> From: mliebana@laurel.datsi.fi.upm.es (Miguel Angel Liebana Presa) Date: 23 Sep 93 18:48:58 +0200 Distribution: world Organization: Dpto. Arquitectura. Universidad Politecnica de Madrid Nntp-Posting-Host: laurel.datsi.fi.upm.es We are using the modified version gdb4.6 to debug OSF/1 Release 1.0.4 MK 4.1. This version of gdb uses Mach IPC to attach to a running process. During server debugging We would like to change the selected thread, using the "thread suspend" command on the current selected thread, and then using "thread select" to activate another thread. The problem is that the "continue" command tries to execute instructions from the suspended thread, and not the selected thread. What are we forgetting?. Does this version of gdb allows change of current thread during debugging?. As I have no documentation of this special version of gdb, I don't know what is a "selected thread", and what on earth I am doing when I perform a "thread select" command. I also don't know the meaning of fields displayed responding to "thread list" command. Is there any document explaining the special features of the gdb4.6 supplied with OSF/1?. Any help will be appreciated. Thank You.! Miguel. ----------------------------------------------------------------------------- Name: Miguel Angel Liebana Presa E-mail: mliebana@datsi.fi.upm.es (138.100.9.1) Department: Computer Architecture Department. Center: Facultad de Informatica. ( Computer Science ) University: Universidad Politecnica de Madrid. Country: Spain. -----------------------------------------------------------------------------