From beb7c9406f6c9d3979f527db3248eab66347c846 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 17 May 2013 13:37:18 +0100 Subject: Try to integrate; add line numbers to traces. --- src/lib/stack.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/stack.hpp') 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; }; -- cgit v1.2.3