projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ubsan: aarch64: left shift of negative value
[deliverable/binutils-gdb.git]
/
gdb
/
nbsd-tdep.c
diff --git
a/gdb/nbsd-tdep.c
b/gdb/nbsd-tdep.c
index 2fd493764531e7ef893a161fd93329c5ddbb946f..a0d512b0f1ee4c34a77a0aab86dfd45be80605b3 100644
(file)
--- a/
gdb/nbsd-tdep.c
+++ b/
gdb/nbsd-tdep.c
@@
-1,7
+1,6
@@
/* Common target-dependent code for NetBSD systems.
/* Common target-dependent code for NetBSD systems.
- Copyright (C) 2002, 2006, 2007, 2008, 2009, 2010
- Free Software Foundation, Inc.
+ Copyright (C) 2002-2019 Free Software Foundation, Inc.
Contributed by Wasabi Systems, Inc.
Contributed by Wasabi Systems, Inc.
@@
-21,7
+20,6
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "gdb_string.h"
#include "solib-svr4.h"
#include "nbsd-tdep.h"
#include "solib-svr4.h"
#include "nbsd-tdep.h"
@@
-41,11
+39,11
@@
nbsd_lp64_solib_svr4_fetch_link_map_offsets (void)
}
int
}
int
-nbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name)
+nbsd_pc_in_sigtramp (CORE_ADDR pc, c
onst c
har *func_name)
{
/* Check for libc-provided signal trampoline. All such trampolines
have function names which begin with "__sigtramp". */
return (func_name != NULL
{
/* Check for libc-provided signal trampoline. All such trampolines
have function names which begin with "__sigtramp". */
return (func_name != NULL
- && st
rncmp (func_name, "__sigtramp", 10) == 0
);
+ && st
artswith (func_name, "__sigtramp")
);
}
}
This page took
0.024023 seconds
and
4
git commands to generate.