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

Side by Side Diff: gdb/dicos-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/defs.h ('k') | gdb/dictionary.h » ('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, architecture-independent code for DICOS, for GDB. 1 /* Target-dependent, architecture-independent code for DICOS, for GDB.
2 2
3 Copyright (C) 2009-2012 Free Software Foundation, Inc. 3 Copyright (C) 2009-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 25 matching lines...) Expand all
36 list of shared libraries. There's no "main executable" in DICOS, 36 list of shared libraries. There's no "main executable" in DICOS,
37 so this accounts for all code. */ 37 so this accounts for all code. */
38 set_gdbarch_has_global_solist (gdbarch, 1); 38 set_gdbarch_has_global_solist (gdbarch, 1);
39 39
40 /* The DICOS breakpoint API takes care of magically making 40 /* The DICOS breakpoint API takes care of magically making
41 breakpoints visible to all inferiors. */ 41 breakpoints visible to all inferiors. */
42 set_gdbarch_has_global_breakpoints (gdbarch, 1); 42 set_gdbarch_has_global_breakpoints (gdbarch, 1);
43 43
44 /* There's no (standard definition of) entry point or a guaranteed 44 /* There's no (standard definition of) entry point or a guaranteed
45 text location with a symbol where to place the call dummy, so we 45 text location with a symbol where to place the call dummy, so we
46 put it on the stack. */ 46 need it on the stack. Rely on i386_gdbarch_init used also for
47 set_gdbarch_call_dummy_location (gdbarch, ON_STACK); 47 amd64 to set up ON_STACK inferior calls. */
48 48
49 /* DICOS rewinds the PC itself. */ 49 /* DICOS rewinds the PC itself. */
50 set_gdbarch_decr_pc_after_break (gdbarch, 0); 50 set_gdbarch_decr_pc_after_break (gdbarch, 0);
51 } 51 }
52 52
53 /* Return true if ABFD is a dicos load module. HEADER_SIZE is the 53 /* Return true if ABFD is a dicos load module. HEADER_SIZE is the
54 expected size of the "header" section in bytes. */ 54 expected size of the "header" section in bytes. */
55 55
56 int 56 int
57 dicos_load_module_p (bfd *abfd, int header_size) 57 dicos_load_module_p (bfd *abfd, int header_size)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 ret = 1; 110 ret = 1;
111 break; 111 break;
112 } 112 }
113 } 113 }
114 } 114 }
115 } 115 }
116 116
117 xfree (symbol_table); 117 xfree (symbol_table);
118 return ret; 118 return ret;
119 } 119 }
OLDNEW
« no previous file with comments | « gdb/defs.h ('k') | gdb/dictionary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698