OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [libunwind-frame.h] - Blame information for rev 450

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
/* Frame unwinder for frames with libunwind frame information.
2
 
3
   Copyright (C) 2003, 2006, 2007, 2008 Free Software Foundation, Inc.
4
 
5
   Contributed by Jeff Johnston.
6
 
7
   This file is part of GDB.
8
 
9
   This program is free software; you can redistribute it and/or modify
10
   it under the terms of the GNU General Public License as published by
11
   the Free Software Foundation; either version 3 of the License, or
12
   (at your option) any later version.
13
 
14
   This program is distributed in the hope that it will be useful,
15
   but WITHOUT ANY WARRANTY; without even the implied warranty of
16
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
   GNU General Public License for more details.
18
 
19
   You should have received a copy of the GNU General Public License
20
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
21
 
22
#ifdef HAVE_LIBUNWIND_H
23
 
24
struct frame_info;
25
struct frame_id;
26
struct regcache;
27
struct gdbarch;
28
 
29
#ifndef LIBUNWIND_FRAME_H
30
#define LIBUNWIND_FRAME_H 1
31
 
32
#include "libunwind.h"
33
 
34
struct libunwind_descr
35
{
36
  int (*gdb2uw) (int);
37
  int (*uw2gdb) (int);
38
  int (*is_fpreg) (int);
39
  void *accessors;
40
  void *special_accessors;
41
};
42
 
43
const struct frame_unwind *libunwind_frame_sniffer (struct frame_info *next_frame);
44
const struct frame_unwind *libunwind_sigtramp_frame_sniffer (struct frame_info *next_frame);
45
 
46
void libunwind_frame_set_descr (struct gdbarch *arch, struct libunwind_descr *descr);
47
 
48
void libunwind_frame_this_id (struct frame_info *next_frame, void **this_cache,
49
                              struct frame_id *this_id);
50
void libunwind_frame_prev_register (struct frame_info *next_frame, void **this_cache,
51
                                    int regnum, int *optimizedp,
52
                                    enum lval_type *lvalp, CORE_ADDR *addrp,
53
                                    int *realnump, gdb_byte *valuep);
54
void libunwind_frame_dealloc_cache (struct frame_info *self, void *cache);
55
CORE_ADDR libunwind_frame_base_address (struct frame_info *next_frame, void **this_cache);
56
 
57
int libunwind_is_initialized (void);
58
 
59
int libunwind_search_unwind_table (void *as, long ip, void *di,
60
                                   void *pi, int need_unwind_info, void *args);
61
 
62
unw_word_t libunwind_find_dyn_list (unw_addr_space_t, unw_dyn_info_t *,
63
                                    void *);
64
 
65
int libunwind_get_reg_special (struct gdbarch *gdbarch,
66
                               struct regcache *regcache,
67
                               int regnum, void *buf);
68
 
69
#endif /* libunwind-frame.h */
70
 
71
#endif /* HAVE_LIBUNWIND_H  */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.