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

Side by Side Diff: gdb/alpha-osf1-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/alpha-mdebug-tdep.c ('k') | gdb/alpha-tdep.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 code for OSF/1 on Alpha. 1 /* Target-dependent code for OSF/1 on Alpha.
2 Copyright (C) 2002-2003, 2007-2012 Free Software Foundation, Inc. 2 Copyright (C) 2002-2003, 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 10 matching lines...) Expand all
21 #include "gdbcore.h" 21 #include "gdbcore.h"
22 #include "value.h" 22 #include "value.h"
23 #include "osabi.h" 23 #include "osabi.h"
24 #include "gdb_string.h" 24 #include "gdb_string.h"
25 #include "objfiles.h" 25 #include "objfiles.h"
26 26
27 #include "alpha-tdep.h" 27 #include "alpha-tdep.h"
28 28
29 static int 29 static int
30 alpha_osf1_pc_in_sigtramp (struct gdbarch *gdbarch, 30 alpha_osf1_pc_in_sigtramp (struct gdbarch *gdbarch,
31 » » » CORE_ADDR pc, char *func_name) 31 » » » CORE_ADDR pc, const char *func_name)
32 { 32 {
33 return (func_name != NULL && strcmp ("__sigtramp", func_name) == 0); 33 return (func_name != NULL && strcmp ("__sigtramp", func_name) == 0);
34 } 34 }
35 35
36 static CORE_ADDR 36 static CORE_ADDR
37 alpha_osf1_sigcontext_addr (struct frame_info *this_frame) 37 alpha_osf1_sigcontext_addr (struct frame_info *this_frame)
38 { 38 {
39 struct gdbarch *gdbarch = get_frame_arch (this_frame); 39 struct gdbarch *gdbarch = get_frame_arch (this_frame);
40 enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); 40 enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
41 struct frame_info *next_frame = get_next_frame (this_frame); 41 struct frame_info *next_frame = get_next_frame (this_frame);
(...skipping 28 matching lines...) Expand all
70 70
71 /* Provide a prototype to silence -Wmissing-prototypes. */ 71 /* Provide a prototype to silence -Wmissing-prototypes. */
72 extern initialize_file_ftype _initialize_alpha_osf1_tdep; 72 extern initialize_file_ftype _initialize_alpha_osf1_tdep;
73 73
74 void 74 void
75 _initialize_alpha_osf1_tdep (void) 75 _initialize_alpha_osf1_tdep (void)
76 { 76 {
77 gdbarch_register_osabi (bfd_arch_alpha, 0, GDB_OSABI_OSF1, 77 gdbarch_register_osabi (bfd_arch_alpha, 0, GDB_OSABI_OSF1,
78 alpha_osf1_init_abi); 78 alpha_osf1_init_abi);
79 } 79 }
OLDNEW
« no previous file with comments | « gdb/alpha-mdebug-tdep.c ('k') | gdb/alpha-tdep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698