GDB (xrefs)
Loading...
Searching...
No Matches
windows-tdep.h
Go to the documentation of this file.
1/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
2
3 This file is part of GDB.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17
18#ifndef WINDOWS_TDEP_H
19#define WINDOWS_TDEP_H
20
21struct obstack;
22struct gdbarch;
23
25
26extern void init_w32_command_list (void);
27
28extern void windows_xfer_shared_library (const char* so_name,
29 CORE_ADDR load_addr,
30 CORE_ADDR *text_offset_cached,
31 struct gdbarch *gdbarch,
32 struct obstack *obstack);
33
35 gdb_byte *readbuf,
36 ULONGEST offset,
37 ULONGEST len);
38
39extern std::string windows_core_pid_to_str (struct gdbarch *gdbarch,
40 ptid_t ptid);
41
42/* To be called from the various GDB_OSABI_WINDOWS handlers for the
43 various Windows architectures and machine types. */
44
45extern void windows_init_abi (struct gdbarch_info info,
46 struct gdbarch *gdbarch);
47
48/* To be called from the various GDB_OSABI_CYGWIN handlers for the
49 various Windows architectures and machine types. */
50
51extern void cygwin_init_abi (struct gdbarch_info info,
52 struct gdbarch *gdbarch);
53
54/* Return true if the Portable Executable behind ABFD uses the Cygwin dll
55 (cygwin1.dll). */
56
57extern bool is_linked_with_cygwin_dll (bfd *abfd);
58
59#endif
void windows_xfer_shared_library(const char *so_name, CORE_ADDR load_addr, CORE_ADDR *text_offset_cached, struct gdbarch *gdbarch, struct obstack *obstack)
std::string windows_core_pid_to_str(struct gdbarch *gdbarch, ptid_t ptid)
bool is_linked_with_cygwin_dll(bfd *abfd)
void init_w32_command_list(void)
ULONGEST windows_core_xfer_shared_libraries(struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len)
void cygwin_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
void windows_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
struct cmd_list_element * info_w32_cmdlist