X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fs390-tdep.c;h=b08f331b0a1ded48f7ee3b088da88c75ef21b429;hb=915808f652b63746052b1ef59403650b45a30e4f;hp=6bd0528cf44584b01af9cabd4f47e69b08b41e63;hpb=ba18312d8f2cecf88b6edcbc277f433a62131e58;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 6bd0528cf4..b08f331b0a 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for s390. - Copyright (C) 2001-2019 Free Software Foundation, Inc. + Copyright (C) 2001-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -2116,7 +2116,7 @@ s390_return_value (struct gdbarch *gdbarch, struct value *function, /* Frame unwinding. */ -/* Implmement the stack_frame_destroyed_p gdbarch method. */ +/* Implement the stack_frame_destroyed_p gdbarch method. */ static int s390_stack_frame_destroyed_p (struct gdbarch *gdbarch, CORE_ADDR pc) @@ -5311,7 +5311,7 @@ ex: case 0xe383: /* MSGC - multiply single 64x64mem -> 64 */ case 0xe398: /* ALC - add logical with carry */ case 0xe399: /* SLB - subtract logical with borrow */ - case 0xe727: /* LCBB - load count to block bounduary */ + case 0xe727: /* LCBB - load count to block boundary */ case 0xeb81: /* ICMY - insert characters under mask */ case 0xebdc: /* SRAK - shift left single */ case 0xebdd: /* SLAK - shift left single */ @@ -5537,7 +5537,7 @@ ex: case 0xe704: /* VLLEZ - vector load logical element and zero */ case 0xe705: /* VLREP - vector load and replicate */ case 0xe706: /* VL - vector load */ - case 0xe707: /* VLBB - vector load to block bounduary */ + case 0xe707: /* VLBB - vector load to block boundary */ case 0xe712: /* VGEG - vector gather element */ case 0xe713: /* VGEF - vector gather element */ case 0xe722: /* VLVG - vector load vr element from gr */ @@ -6238,7 +6238,7 @@ ex: return -1; break; - /* 0xed42-0xed47 undefind */ + /* 0xed42-0xed47 undefined */ case 0xed48: /* SLXT - shift significand left */ case 0xed49: /* SRXT - shift significand right */ @@ -6253,10 +6253,10 @@ ex: return -1; break; - /* 0xed4a-0xed4f undefind */ - /* 0xed52-0xed53 undefind */ - /* 0xed56-0xed57 undefind */ - /* 0xed5a-0xed63 undefind */ + /* 0xed4a-0xed4f undefined */ + /* 0xed52-0xed53 undefined */ + /* 0xed56-0xed57 undefined */ + /* 0xed5a-0xed63 undefined */ /* 0xed68-0xeda7 undefined */ case 0xeda8: /* CZDT - convert to zoned */ @@ -6779,10 +6779,10 @@ UNKNOWN_OP: /* Implement gdbarch_gcc_target_options. GCC does not know "-m32" or "-mcmodel=large". */ -static char * +static std::string s390_gcc_target_options (struct gdbarch *gdbarch) { - return xstrdup (gdbarch_ptr_bit (gdbarch) == 64 ? "-m64" : "-m31"); + return gdbarch_ptr_bit (gdbarch) == 64 ? "-m64" : "-m31"; } /* Implement gdbarch_gnu_triplet_regexp. Target triplets are "s390-*"