[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Code: GDB support not only for ProjectCenter
From: |
Philippe C . D . Robert |
Subject: |
Re: Code: GDB support not only for ProjectCenter |
Date: |
Sun, 10 Aug 2003 14:46:12 +0200 |
Hi,
On Saturday, August 9, 2003, at 01:52 AM, Stefan Urbanek wrote:
Hi,
Here is a piece of code I am using in my project to debug either
running or nor running program (two methods). Feel free to modify and
reuse that code in ProjectCenter or other project for preliminary GDB
support.
What it does? It uses Terminal.app services to launch GDB in new
Terminal window with given arguments. One method passes PID and
executable path to debug running process and the other method launches
GDB with new, not running program.
I added initial support for external debugging to PC based on your
code. But as I do not have the possibility to test it right now (no
working gdb and no experience with terminal.app) I have one question
wrt the arguments which have to be passed: is it enough to pass eg.
"somepath/SomeApp.app" as debug target or do I have to pass the full
path to the executable?
Thx,
-Phil
--
Philippe C.D. Robert
http://www.nice.ch/~phip