1 /* 2 * s390x stack implementation 3 * 4 * Copyright (c) 2017 Red Hat Inc 5 * 6 * Authors: 7 * Thomas Huth <thuth@redhat.com> 8 * David Hildenbrand <david@redhat.com> 9 * 10 * This code is free software; you can redistribute it and/or modify it 11 * under the terms of the GNU Library General Public License version 2. 12 */ 13 #include <libcflat.h> 14 #include <stack.h> 15 16 int backtrace_frame(const void *frame, const void **return_addrs, int max_depth) 17 { 18 printf("TODO: Implement backtrace_frame(%p, %p, %d) function!\n", 19 frame, return_addrs, max_depth); 20 return 0; 21 } 22 23 int backtrace(const void **return_addrs, int max_depth) 24 { 25 printf("TODO: Implement backtrace(%p, %d) function!\n", 26 return_addrs, max_depth); 27 return 0; 28 } 29