summaryrefslogtreecommitdiff
path: root/src/mi
diff options
context:
space:
mode:
authorhp.com!davidm <hp.com!davidm>2005-05-20 09:48:08 +0000
committerhp.com!davidm <hp.com!davidm>2005-05-20 09:48:08 +0000
commit07b01ad205162a93dab42722caaa4dbb7ba43b3f (patch)
tree44df8643424da7da8674affc392fd46135105dcd /src/mi
parent670dd57e827a3583a9284634cf1244eb8cab4795 (diff)
downloadlibunwind-07b01ad205162a93dab42722caaa4dbb7ba43b3f.tar.gz
Include "libunwind_i.h" instead of "tdep.h" and "internal.h".
(Logical change 1.294)
Diffstat (limited to 'src/mi')
-rw-r--r--src/mi/Gdyn-extract.c5
-rw-r--r--src/mi/Gdyn-remote.c5
-rw-r--r--src/mi/Gfind_dynamic_proc_info.c7
-rw-r--r--src/mi/Gget_proc_info_by_ip.c7
-rw-r--r--src/mi/init.c6
5 files changed, 9 insertions, 21 deletions
diff --git a/src/mi/Gdyn-extract.c b/src/mi/Gdyn-extract.c
index 31559832..5258839f 100644
--- a/src/mi/Gdyn-extract.c
+++ b/src/mi/Gdyn-extract.c
@@ -1,5 +1,5 @@
/* libunwind - a platform-independent unwind library
- Copyright (C) 2001-2002 Hewlett-Packard Co
+ Copyright (C) 2001-2002, 2005 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
@@ -23,8 +23,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
-#include "internal.h"
-#include "tdep.h"
+#include "libunwind_i.h"
HIDDEN int
unwi_extract_dynamic_proc_info (unw_addr_space_t as, unw_word_t ip,
diff --git a/src/mi/Gdyn-remote.c b/src/mi/Gdyn-remote.c
index 6a6252d0..917a11de 100644
--- a/src/mi/Gdyn-remote.c
+++ b/src/mi/Gdyn-remote.c
@@ -1,5 +1,5 @@
/* libunwind - a platform-independent unwind library
- Copyright (C) 2001-2002 Hewlett-Packard Co
+ Copyright (C) 2001-2002, 2005 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
@@ -25,9 +25,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <stdlib.h>
-#include "internal.h"
+#include "libunwind_i.h"
#include "remote.h"
-#include "tdep.h"
static void
free_regions (unw_dyn_region_info_t *region)
diff --git a/src/mi/Gfind_dynamic_proc_info.c b/src/mi/Gfind_dynamic_proc_info.c
index 5df946a9..24c72ed7 100644
--- a/src/mi/Gfind_dynamic_proc_info.c
+++ b/src/mi/Gfind_dynamic_proc_info.c
@@ -1,5 +1,5 @@
/* libunwind - a platform-independent unwind library
- Copyright (C) 2001-2002 Hewlett-Packard Co
+ Copyright (C) 2001-2002, 2005 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
@@ -23,10 +23,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
-#include <stdio.h>
-
-#include "internal.h"
-#include "tdep.h"
+#include "libunwind_i.h"
#ifdef UNW_REMOTE_ONLY
diff --git a/src/mi/Gget_proc_info_by_ip.c b/src/mi/Gget_proc_info_by_ip.c
index d8b436e3..4c9de770 100644
--- a/src/mi/Gget_proc_info_by_ip.c
+++ b/src/mi/Gget_proc_info_by_ip.c
@@ -1,5 +1,5 @@
/* libunwind - a platform-independent unwind library
- Copyright (C) 2003 Hewlett-Packard Co
+ Copyright (C) 2003, 2005 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
@@ -23,10 +23,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
-#include <libunwind.h>
-
-#include "internal.h"
-#include "tdep.h"
+#include "libunwind_i.h"
PROTECTED int
unw_get_proc_info_by_ip (unw_addr_space_t as, unw_word_t ip,
diff --git a/src/mi/init.c b/src/mi/init.c
index 9d9e6019..4bf97c48 100644
--- a/src/mi/init.c
+++ b/src/mi/init.c
@@ -23,11 +23,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
-#include <assert.h>
-#include <stdlib.h>
-
-#include "internal.h"
-#include "tdep.h"
+#include "libunwind_i.h"
HIDDEN intrmask_t unwi_full_mask;