summaryrefslogtreecommitdiff
path: root/src/lib/stack.hpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-17 13:37:18 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-17 13:37:18 +0100
commitbeb7c9406f6c9d3979f527db3248eab66347c846 (patch)
tree36c7d59e9f4e0ac442bcf8789f3d6bdb0abb2767 /src/lib/stack.hpp
parentc22c118458b3eafd0b71cf61f9edb33e9770802e (diff)
Try to integrate; add line numbers to traces.
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;
};