OLD | NEW |
1 /* Common target-dependent code for NetBSD systems. | 1 /* Common target-dependent code for NetBSD systems. |
2 | 2 |
3 Copyright (C) 2002, 2006-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2002, 2006-2012 Free Software Foundation, Inc. |
4 | 4 |
5 Contributed by Wasabi Systems, Inc. | 5 Contributed by Wasabi Systems, Inc. |
6 | 6 |
7 This file is part of GDB. | 7 This file is part of GDB. |
8 | 8 |
9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
(...skipping 22 matching lines...) Expand all Loading... |
33 return svr4_ilp32_fetch_link_map_offsets (); | 33 return svr4_ilp32_fetch_link_map_offsets (); |
34 } | 34 } |
35 | 35 |
36 struct link_map_offsets * | 36 struct link_map_offsets * |
37 nbsd_lp64_solib_svr4_fetch_link_map_offsets (void) | 37 nbsd_lp64_solib_svr4_fetch_link_map_offsets (void) |
38 { | 38 { |
39 return svr4_lp64_fetch_link_map_offsets (); | 39 return svr4_lp64_fetch_link_map_offsets (); |
40 } | 40 } |
41 | 41 |
42 int | 42 int |
43 nbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name) | 43 nbsd_pc_in_sigtramp (CORE_ADDR pc, const char *func_name) |
44 { | 44 { |
45 /* Check for libc-provided signal trampoline. All such trampolines | 45 /* Check for libc-provided signal trampoline. All such trampolines |
46 have function names which begin with "__sigtramp". */ | 46 have function names which begin with "__sigtramp". */ |
47 | 47 |
48 return (func_name != NULL | 48 return (func_name != NULL |
49 && strncmp (func_name, "__sigtramp", 10) == 0); | 49 && strncmp (func_name, "__sigtramp", 10) == 0); |
50 } | 50 } |
OLD | NEW |