Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Side by Side Diff: gdb/i386-cygwin-tdep.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/hppanbsd-tdep.c ('k') | gdb/i386-darwin-nat.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Target-dependent code for Cygwin running on i386's, for GDB. 1 /* Target-dependent code for Cygwin running on i386's, for GDB.
2 2
3 Copyright (C) 2003, 2007-2012 Free Software Foundation, Inc. 3 Copyright (C) 2003, 2007-2012 Free Software Foundation, Inc.
4 4
5 This file is part of GDB. 5 This file is part of GDB.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or 9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 (gdbarch, i386_windows_regset_from_core_section); 250 (gdbarch, i386_windows_regset_from_core_section);
251 set_gdbarch_core_xfer_shared_libraries 251 set_gdbarch_core_xfer_shared_libraries
252 (gdbarch, windows_core_xfer_shared_libraries); 252 (gdbarch, windows_core_xfer_shared_libraries);
253 set_gdbarch_core_pid_to_str (gdbarch, i386_windows_core_pid_to_str); 253 set_gdbarch_core_pid_to_str (gdbarch, i386_windows_core_pid_to_str);
254 254
255 set_gdbarch_auto_wide_charset (gdbarch, i386_cygwin_auto_wide_charset); 255 set_gdbarch_auto_wide_charset (gdbarch, i386_cygwin_auto_wide_charset);
256 256
257 /* Canonical paths on this target look like 257 /* Canonical paths on this target look like
258 `c:\Program Files\Foo App\mydll.dll', for example. */ 258 `c:\Program Files\Foo App\mydll.dll', for example. */
259 set_gdbarch_has_dos_based_file_system (gdbarch, 1); 259 set_gdbarch_has_dos_based_file_system (gdbarch, 1);
260
261 set_gdbarch_iterate_over_objfiles_in_search_order
262 (gdbarch, windows_iterate_over_objfiles_in_search_order);
260 } 263 }
261 264
262 static enum gdb_osabi 265 static enum gdb_osabi
263 i386_cygwin_osabi_sniffer (bfd *abfd) 266 i386_cygwin_osabi_sniffer (bfd *abfd)
264 { 267 {
265 char *target_name = bfd_get_target (abfd); 268 char *target_name = bfd_get_target (abfd);
266 269
267 /* Interix also uses pei-i386. 270 /* Interix also uses pei-i386.
268 We need a way to distinguish between the two. */ 271 We need a way to distinguish between the two. */
269 if (strcmp (target_name, "pei-i386") == 0) 272 if (strcmp (target_name, "pei-i386") == 0)
(...skipping 21 matching lines...) Expand all
291 gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_coff_flavour, 294 gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_coff_flavour,
292 i386_cygwin_osabi_sniffer); 295 i386_cygwin_osabi_sniffer);
293 296
294 /* Cygwin uses elf core dumps. */ 297 /* Cygwin uses elf core dumps. */
295 gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_elf_flavour, 298 gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_elf_flavour,
296 i386_cygwin_osabi_sniffer); 299 i386_cygwin_osabi_sniffer);
297 300
298 gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_CYGWIN, 301 gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_CYGWIN,
299 i386_cygwin_init_abi); 302 i386_cygwin_init_abi);
300 } 303 }
OLDNEW
« no previous file with comments | « gdb/hppanbsd-tdep.c ('k') | gdb/i386-darwin-nat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698