Le lundi 23 mars 2009 à 23:33 -0600, Paul E Condon a écrit : > I'm following the steps. It is taking a while. I'm not surprised or > worried by the time. But while its working, I'm thinking I see that > I am to run the program under gdb by invoking gdb from a command line. > I run programs from a command line all the time, but from a command > line in a gnome-terminal window under gnome and X. So what do I really > do to run gnome-terminal under the control of gdb? I've never done > this before. I think I need some very explicit instructions. When I > get to the place were the web site says type: > $ gdb hello > > What do I actually do instead? I'm sure its 'obvious', but it's only > obvious after one has been told.
That would be gdb /usr/bin/gnome-terminal. As for debugging the terminal itself, you have several solutions: * From another terminal. Run xterm, and from it run gdb on gnome-terminal. * From the console. Run gnome-terminal, then attach gdb to it from the text console (gdb /usr/bin/gnome-terminal `pidof gnome-terminal`). * By launching two instances. At the execution step of gdb, type "run --disable-factory". This will start a new gnome-terminal process. Then you have to pray that changing the settings will make this new process crash and not the one from which you are running gdb. Cheers, -- .''`. Debian 5.0 "Lenny" has been released! : :' : `. `' Last night, Darth Vader came down from planet Vulcan and told `- me that if you don't install Lenny, he'd melt your brain.
signature.asc
Description: Ceci est une partie de message numériquement signée