summaryrefslogtreecommitdiff
path: root/src/lib/stack.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/stack.hpp')
-rw-r--r--src/lib/stack.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/stack.hpp b/src/lib/stack.hpp
index 0430439e0..2b622d020 100644
--- a/src/lib/stack.hpp
+++ b/src/lib/stack.hpp
@@ -1,3 +1,5 @@
+/** -*- c-basic-offset: 4; default-tab-width: 4; indent-tabs-mode: nil; -*- */
+
// Copyright 2007 Edd Dawson.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
@@ -16,10 +18,11 @@ namespace dbg
//! the name of the corresponding function and the "module" (executable or library) in which the function resides.
struct stack_frame
{
- stack_frame(const void *instruction, const std::string &function, const std::string &module);
+ stack_frame(const void *instruction, const std::string &function, unsigned int line, const std::string &module);
const void *instruction;
std::string function;
+ unsigned int line;
std::string module;
};