projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a "context" argument to add_setshow_enum_cmd
[binutils-gdb.git]
/
gdb
/
i386-cygwin-tdep.c
diff --git
a/gdb/i386-cygwin-tdep.c
b/gdb/i386-cygwin-tdep.c
index e3091a031c08c7aadbff498efea13b6d168d2c4b..ed75ea37419906c65001fbddb13f85cfed3bbfeb 100644
(file)
--- a/
gdb/i386-cygwin-tdep.c
+++ b/
gdb/i386-cygwin-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for Cygwin running on i386's, for GDB.
/* Target-dependent code for Cygwin running on i386's, for GDB.
- Copyright (C) 2003-201
6
Free Software Foundation, Inc.
+ Copyright (C) 2003-201
8
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-178,14
+178,14
@@
windows_core_xfer_shared_libraries (struct gdbarch *gdbarch,
/* This is how we want PTIDs from core files to be printed. */
/* This is how we want PTIDs from core files to be printed. */
-static char *
+static c
onst c
har *
i386_windows_core_pid_to_str (struct gdbarch *gdbarch, ptid_t ptid)
{
static char buf[80];
i386_windows_core_pid_to_str (struct gdbarch *gdbarch, ptid_t ptid)
{
static char buf[80];
- if (ptid
_get_lwp (ptid
) != 0)
+ if (ptid
.lwp (
) != 0)
{
{
- snprintf (buf, sizeof (buf), "Thread 0x%lx", ptid
_get_lwp (ptid
));
+ snprintf (buf, sizeof (buf), "Thread 0x%lx", ptid
.lwp (
));
return buf;
}
return buf;
}
@@
-252,9
+252,6
@@
i386_cygwin_osabi_sniffer (bfd *abfd)
return GDB_OSABI_UNKNOWN;
}
return GDB_OSABI_UNKNOWN;
}
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_i386_cygwin_tdep (void);
-
void
_initialize_i386_cygwin_tdep (void)
{
void
_initialize_i386_cygwin_tdep (void)
{