[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using GDB without PB



On Friday, March 15, 2002, at 06:01 , Paul Nicholson wrote:

> I'm working on a plugin that builds from a terminal command line and I 
> have yet to figure out how to get PB to build it as it appears that PB 
> doesn't let me get  to the make file used.

Project -> New Target -> Legacy Makefile

> Anway, assuming I can't build it with PB, is there a way to use PB to 
> debug it? I noticed that GDB runs from a terminal window, but it looks 
> brutal to use it that way - how would one get source display?

In Terminal: gdb <path-to-executable>

Use the command "list" to get the source display ("help" for help).

andy
--
"Computer games don't affect kids; I mean if Pac-Man affected us as 
kids, we'd all be running around in darkened rooms, munching magic pills 
and listening to repetitive electronic music."
-- Anonymous Nintendo employee