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

Side by Side Diff: gdb/gdbserver/linux-xtensa-low.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/gdbserver/linux-x86-low.c ('k') | gdb/gdbserver/lynx-low.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 /* GNU/Linux/Xtensa specific low level interface, for the remote server for GDB. 1 /* GNU/Linux/Xtensa specific low level interface, for the remote server for GDB.
2 Copyright 2007-2012 Free Software Foundation, Inc. 2 Copyright 2007-2012 Free Software Foundation, Inc.
3 3
4 This file is part of GDB. 4 This file is part of GDB.
5 5
6 This program is free software; you can redistribute it and/or modify 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 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or 8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 (*the_target->read_memory) (where, (unsigned char *) &insn, 173 (*the_target->read_memory) (where, (unsigned char *) &insn,
174 xtensa_breakpoint_len); 174 xtensa_breakpoint_len);
175 return memcmp((char *) &insn, 175 return memcmp((char *) &insn,
176 xtensa_breakpoint, xtensa_breakpoint_len) == 0; 176 xtensa_breakpoint, xtensa_breakpoint_len) == 0;
177 } 177 }
178 178
179 struct linux_target_ops the_low_target = { 179 struct linux_target_ops the_low_target = {
180 init_registers_xtensa, 180 init_registers_xtensa,
181 0, 181 0,
182 0, 182 0,
183 NULL,
183 0, 184 0,
184 0, 185 0,
186 NULL, /* fetch_register */
185 xtensa_get_pc, 187 xtensa_get_pc,
186 xtensa_set_pc, 188 xtensa_set_pc,
187 xtensa_breakpoint, 189 xtensa_breakpoint,
188 xtensa_breakpoint_len, 190 xtensa_breakpoint_len,
189 NULL, 191 NULL,
190 0, 192 0,
191 xtensa_breakpoint_at, 193 xtensa_breakpoint_at,
192 }; 194 };
OLDNEW
« no previous file with comments | « gdb/gdbserver/linux-x86-low.c ('k') | gdb/gdbserver/lynx-low.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698