1 /* Native-dependent definitions for Intel 386 running BSD Unix, for GDB.
2 Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
23 /* Be shared lib aware */
26 /* This is the amount to subtract from u.u_ar0
27 to get the offset in the core file of the register values. */
29 #include <machine/vmparam.h>
30 #define KERNEL_U_ADDR USRSTACK
32 #define FLOAT_INFO extern i386_float_info (); \
35 #define REGISTER_U_ADDR(addr, blockend, regno) \
36 (addr) = i386_register_u_addr ((blockend),(regno));
39 i386_register_u_addr
PARAMS ((int, int));
41 #define PTRACE_ARG3_TYPE char*
43 /* make structure definitions match up with those expected in solib.c */
44 #define link_object sod
45 #define lo_name sod_name
46 #define lo_library sod_library
47 #define lo_unused sod_reserved
48 #define lo_major sod_major
49 #define lo_minor sod_minor
50 #define lo_next sod_next
52 #define link_map so_map
53 #define lm_addr som_addr
54 #define lm_name som_path
55 #define lm_next som_next
56 #define lm_lop som_sod
57 #define lm_lob som_sodbase
58 #define lm_rwt som_write
59 #define lm_ld som_dynamic
60 #define lm_lpd som_spd
62 #define link_dynamic_2 section_dispatch_table
63 #define ld_loaded sdt_loaded
64 #define ld_need sdt_sods
65 #define ld_rules sdt_filler1
66 #define ld_got sdt_got
67 #define ld_plt sdt_plt
68 #define ld_rel sdt_rel
69 #define ld_hash sdt_hash
70 #define ld_stab sdt_nzlist
71 #define ld_stab_hash sdt_filler2
72 #define ld_buckets sdt_buckets
73 #define ld_symbols sdt_strings
74 #define ld_symb_size sdt_str_sz
75 #define ld_text sdt_text_sz
76 #define ld_plt_sz sdt_plt_sz
78 #define rtc_symb rt_symbol
80 #define rtc_next rt_next
82 #define ld_debug so_debug
83 #define ldd_version dd_version
84 #define ldd_in_debugger dd_in_debugger
85 #define ldd_sym_loaded dd_sym_loaded
86 #define ldd_bp_addr dd_bpt_addr
87 #define ldd_bp_inst dd_bpt_shadow
90 #define link_dynamic _dynamic
91 #define ld_version d_version
96 #endif /* NM_FREEBSD_H */
This page took 0.031339 seconds and 4 git commands to generate.