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

Side by Side Diff: gdb/xtensa-linux-nat.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/xstormy16-tdep.c ('k') | gdb/xtensa-tdep.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 /* Xtensa GNU/Linux native support. 1 /* Xtensa GNU/Linux native support.
2 2
3 Copyright (C) 2007-2012 Free Software Foundation, Inc. 3 Copyright (C) 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 28 matching lines...) Expand all
39 #include <sys/ptrace.h> 39 #include <sys/ptrace.h>
40 40
41 #include "gregset.h" 41 #include "gregset.h"
42 #include "xtensa-tdep.h" 42 #include "xtensa-tdep.h"
43 43
44 /* Extended register set depends on hardware configs. 44 /* Extended register set depends on hardware configs.
45 Keeping these definitions separately allows to introduce 45 Keeping these definitions separately allows to introduce
46 hardware-specific overlays. */ 46 hardware-specific overlays. */
47 #include "xtensa-xtregs.c" 47 #include "xtensa-xtregs.c"
48 48
49 int 49 static int
50 get_thread_id (ptid_t ptid) 50 get_thread_id (ptid_t ptid)
51 { 51 {
52 int tid = TIDGET (ptid); 52 int tid = TIDGET (ptid);
53 if (0 == tid) 53 if (0 == tid)
54 tid = PIDGET (ptid); 54 tid = PIDGET (ptid);
55 return tid; 55 return tid;
56 } 56 }
57 #define GET_THREAD_ID(PTID) get_thread_id (PTID) 57 #define GET_THREAD_ID(PTID) get_thread_id (PTID)
58 58
59 void 59 void
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 315
316 /* Fill in the generic GNU/Linux methods. */ 316 /* Fill in the generic GNU/Linux methods. */
317 t = linux_target (); 317 t = linux_target ();
318 318
319 /* Add our register access methods. */ 319 /* Add our register access methods. */
320 t->to_fetch_registers = xtensa_linux_fetch_inferior_registers; 320 t->to_fetch_registers = xtensa_linux_fetch_inferior_registers;
321 t->to_store_registers = xtensa_linux_store_inferior_registers; 321 t->to_store_registers = xtensa_linux_store_inferior_registers;
322 322
323 linux_nat_add_target (t); 323 linux_nat_add_target (t);
324 } 324 }
OLDNEW
« no previous file with comments | « gdb/xstormy16-tdep.c ('k') | gdb/xtensa-tdep.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698