ADT
        arm-eh
        ast-experimental
        enum
        forall-pointer-decay
        jacob/cs343-translation
        jenkins-sandbox
        new-ast
        new-ast-unique-expr
        pthread-emulation
        qualifiedEnum
      
      
        
          | Last change
 on this file since 466fa01 was             0c13238, checked in by Thierry Delisle <tdelisle@…>, 7 years ago | 
        
          | 
Aborts now create core dumps which are printed by the test harness.
 printing is done with gdb, print-core.gdb is the list of commands that will print
since all core dumps are assumed to be call 'core' this doesn't handle fancy core patterns and has race conditions if multiple program core dump.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            164 bytes | 
      
      
| Rev | Line |  | 
|---|
| [0c13238] | 1 | #include <stdlib.h> | 
|---|
|  | 2 |  | 
|---|
|  | 3 | int level3() { | 
|---|
|  | 4 | abort(); | 
|---|
|  | 5 | return 0; | 
|---|
|  | 6 | } | 
|---|
|  | 7 |  | 
|---|
|  | 8 | int level2() { | 
|---|
|  | 9 | return level3(); | 
|---|
|  | 10 | } | 
|---|
|  | 11 |  | 
|---|
|  | 12 | int level1() { | 
|---|
|  | 13 | return level2(); | 
|---|
|  | 14 | } | 
|---|
|  | 15 |  | 
|---|
|  | 16 | int main() { | 
|---|
|  | 17 | return level1(); | 
|---|
|  | 18 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.