Two possible function stabs patches

Michael Elizabeth Chastain mec@shout.net
Wed Jul 30 22:29:00 GMT 2003


Geoff K suggests:

  int main(void)
  {
     static int foo(void)  { return 1; }
     return foo() == 1 ? 0 : 1;
  }

  break foo

Hmmmm.  I'll bet that this would be the first code in the test
suite with nested functions.  It is a supported gcc feature,
so that would be good to test.  We'll probably generate a bunch
of new KFAILs with this.

I'll put this on my TODO list, but I have to postpone this until
after the gdb 6.0 release.  It's a question of tuits.

Michael C



More information about the Gdb mailing list