Author Topic: Send some text to the GDB  (Read 6073 times)

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2795
    • View Profile
Send some text to the GDB
« on: 2010-Feb-22 »
It would be nice if your program could output some text that GDB (Gnu Debugger) would pick up on when the GDB is active. This would help debugging programs running on the iPhone for example, that run fine or at full speed on the PC.
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: Send some text to the GDB
« Reply #1 on: 2010-Feb-22 »
STDOUT does it
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2795
    • View Profile
Re: Send some text to the GDB
« Reply #2 on: 2010-Feb-22 »
That, I did not know, thanks Trucidare!  :good:
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)