Article View: comp.windows.x
Article #24815How does one debug a server using dbx/gdb?
From: Douglas Scott
Date: Tue, 12 Jan 1993 00:50
Date: Tue, 12 Jan 1993 00:50
14 lines
1047 bytes
1047 bytes
Is there a special trick to debug an X server binary using gdb or dbx? That is, how can you start it up and have the debugger be able to follow the progress from the beginning, given that the server is normally started via xinit? I know that I can start it normally and then attach to the process, but how would I debug it from the very beginning? Thanks for tips. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Technical Details
Message-ID:
<7326@ucsbcsl.ucsb.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!howland.reston.ans.net!usc!news.service.uci.edu!unogate!mvb.saic.com!network.ucsd.edu!ucsbcsl!foxtrot!dougShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!howland.reston.ans.net!usc!news.service.uci.edu!unogate!mvb.saic.com!network.ucsd.edu!ucsbcsl!foxtrot!doug From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: comp.windows.x Subject: How does one debug a server using dbx/gdb? Message-ID: <7326@ucsbcsl.ucsb.edu> Date: 12 Jan 93 00:50:11 GMT Sender: root@ucsbcsl.ucsb.edu Organization: Center for Computer Music Research and Composition, UCSB Lines: 14