X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Famd64-obsd-nat.c;h=a19f7a19fec8c478afdb1072e1b22ce9e64bdbce;hb=a350efd4fb368a35ada608f6bc26ccd3bed0ae6b;hp=4963c42d06cfb90da877fb833d620f716894ee2a;hpb=4de283e4b5f21207fe12f99913d1f28d4f07843c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/amd64-obsd-nat.c b/gdb/amd64-obsd-nat.c index 4963c42d06..a19f7a19fe 100644 --- a/gdb/amd64-obsd-nat.c +++ b/gdb/amd64-obsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for OpenBSD/amd64. - Copyright (C) 2003-2019 Free Software Foundation, Inc. + Copyright (C) 2003-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -128,8 +128,9 @@ amd64obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb) static amd64_bsd_nat_target the_amd64_obsd_nat_target; +void _initialize_amd64obsd_nat (); void -_initialize_amd64obsd_nat (void) +_initialize_amd64obsd_nat () { amd64_native_gregset32_reg_offset = amd64obsd32_r_reg_offset; amd64_native_gregset32_num_regs = ARRAY_SIZE (amd64obsd32_r_reg_offset);