stacktrace.cc (8852:c744483edfcf) stacktrace.cc (9550:e0e2c8f83d08)
1/*
2 * Copyright (c) 2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 183 unchanged lines hidden (view full) ---

192
193 pc = ra;
194 ksp += size;
195 } else {
196 stack.push_back(unknown);
197 return;
198 }
199
1/*
2 * Copyright (c) 2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 183 unchanged lines hidden (view full) ---

192
193 pc = ra;
194 ksp += size;
195 } else {
196 stack.push_back(unknown);
197 return;
198 }
199
200 bool kernel = sys->kernelStart <= pc && pc <= sys->kernelEnd;
200 kernel = sys->kernelStart <= pc && pc <= sys->kernelEnd;
201 if (!kernel)
202 return;
203
204 if (stack.size() >= 1000)
205 panic("unwinding too far");
206 }
207
208 panic("unwinding too far");

--- 155 unchanged lines hidden ---
201 if (!kernel)
202 return;
203
204 if (stack.size() >= 1000)
205 panic("unwinding too far");
206 }
207
208 panic("unwinding too far");

--- 155 unchanged lines hidden ---