Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-dd-dev] Using DSF to debug GDB

as mentioned in our weekly meeting, I ran DSF-GDB to debug GDB yesterday.
I thought that was pretty cool!
For those interested, it is quite simple:
- Download the GDB source code and build it (with -g is better)
- Use the DSF Local Launch, in the Main tab use any C Project of your workspace
(need not contain any GDB code if you run DSF HEAD), and use as a binary the GDB
binary you built above (it need not be in your project.) 
You can then interact with GDB through the console and debug it with DSF.
You can also use the DSF Attach (local) launch if you want to start GDB from a terminal
before starting to debug it.
It was nice to see DSF step through such a big piece of software!


Marc Khouzam
Software Designer, Methods and Tools


Ericsson Canada Inc

8500 Decarie Blvd.
H4P 2N2, Mont-Royal, Qc, Canada

Office: +1 514 345 7900 x42350
Fax: +1 514 345 6159
Mobile: +1 514 951 7191
Email: Marc.Khouzam@xxxxxxxxxxxx

Ce courriel est confidentiel et uniquement destiné à son ou ses destinataires. Il est défendu de le consulter, de l'utiliser, de le dévoiler ou de le diffuser sans autorisation. Si ce message vous est parvenu par erreur, merci d'en aviser l'expéditeur par retour de courrier et de le détruire sans le divulguer.  Un courriel et ses pièces jointes peut être sans autorisation corrompu, interrompu, amendé, altéré et infecté. L'entreprise ne reçoit et n'envoie de courriel qu'avec l'entente qu'elle n'est responsable d'aucune corruption, interception, modification, altération, infection ou conséquence possible.

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.  E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.


Back to the top