gdb
  Makefile
  Hello
compile
cc -g
  M-x gdb
(gdb)
break
  run
  next
  print
  cont
  改行
  delete
  exit
  shell-mode
  help
gdb-emacs
  gdb 準備
  実行準備
  実行開始
  gdbinint
  URL
    xfree86

gdb GNU Debugger & Emacs (M-x gdb)

Hello

例えば次のような hello.c を用意します。
#include "stdio.h"
#include "ctype.h"
main () {
  int y;
  int f = 1;
  printf("Hello World!\n"); 
  fflush(NULL);
  for ( y = 0 ; y++ < 11 ;) {
    f *= y;
    printf("Factorial %2x:  %8d\n", y, f);
    fflush(NULL);
  }
  return 0;
}
OHP | emacs2 | Mac OS X | gdb
Last Update: Sat, 07 Jun 2014 22:16:17 GMT 1.66 2008/03/08