But when tried with gdb 7.6 none of the option worked, messagebox with message ''Oops we are pulling the plug'' came.
GDB 7.5.9 and up are very sensitive, and easy to crash (internal assert in gdb). Lots of it (but not all) comes down to:
- smartlinking,
- any optimization -O[123]
- mixing stabs and dwarf
Check all packages, for their debug settings, newer gdb should prefer dwarf, and dwarf ( -gw2 / dwarf 2) is the better format. But one single package left with stabs.... boom.
Having said that, none of it guarantees that gdb will work.
type
TFOo = array[0..maxint] of byte;
PFoo = ^TFoo;
The above kills any gdb that I know off.