gdb: add Windows OS ABI
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a0300cce9f9bcedbf71e07fc5ea2808f256a9f61..441029abf029ce8269f919be83f0ee84470180f0 100644 (file)
@@ -1,3 +1,153 @@
+2020-03-16  Simon Marchi  <simon.marchi@efficios.com>
+
+       * osabi.h (enum gdb_osabi): Add GDB_OSABI_WINDOWS.
+       * osabi.c (gdb_osabi_names): Add "Windows".
+       * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Return
+       GDB_OSABI_WINDOWS when the binary's target is "pei-i386".
+       (i386_cygwin_core_osabi_sniffer): New function, extracted from
+       i386_cygwin_osabi_sniffer.
+       (_initialize_i386_cygwin_tdep): Register OS ABI
+       GDB_OSABI_WINDOWS for i386.
+       * amd64-windows-tdep.c (amd64_windows_osabi_sniffer): Return
+       GDB_OSABI_WINDOWS when the binary's target is "pei-x86-64".
+       (_initialize_amd64_windows_tdep): Register OS ABI GDB_OSABI_WINDOWS
+       for x86-64.
+       * configure.tgt: Use GDB_OSABI_WINDOWS as the default OS ABI
+       when the target matches '*-*-mingw*'.
+
+2020-03-16  Simon Marchi  <simon.marchi@efficios.com>
+
+       * defs.h (enum gdb_osabi): Move to...
+       * osabi.h (enum gdb_osabi): ... here.
+       * gdbarch.sh: Include osabi.h in gdbarch.h.
+       * gdbarch.h: Re-generate.
+
+2020-03-16  Simon Marchi  <simon.marchi@efficios.com>
+
+       * amd64-windows-tdep.c (amd64_windows_osabi_sniffer): New
+       function.
+       (_initialize_amd64_windows_tdep): Register osabi sniffer.
+
+2020-03-14  Tom Tromey  <tom@tromey.com>
+
+       * c-typeprint.c (cp_type_print_method_args): Print "__restrict__"
+       for C++.
+       (c_type_print_modifier): Likewise.  Add "language" parameter.
+       (c_type_print_varspec_prefix, c_type_print_base_struct_union)
+       (c_type_print_base_1): Update.
+       * type-stack.h (enum type_pieces) <tp_atomic, tp_restrict>: New
+       constants.
+       * type-stack.c (type_stack::insert): Handle tp_atomic and
+       tp_restrict.
+       (type_stack::follow_type_instance_flags): Likewise.
+       (type_stack::follow_types): Likewise.  Merge type-following code.
+       * c-exp.y (RESTRICT, ATOMIC): New tokens.
+       (space_identifier, cv_with_space_id)
+       (const_or_volatile_or_space_identifier_noopt)
+       (const_or_volatile_or_space_identifier): Remove.
+       (single_qualifier, qualifier_seq_noopt, qualifier_seq): New
+       rules.
+       (ptr_operator, typebase): Update.
+       (enum token_flag) <FLAG_C>: New constant.
+       (ident_tokens): Add "restrict", "__restrict__", "__restrict", and
+       "_Atomic".
+       (lex_one_token): Handle FLAG_C.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * m68k-bsd-nat.c (fetch_registers): New variable lwp and pass
+       it to the ptrace call.
+       * m68k-bsd-nat.c (store_registers): Likewise.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * m68k-bsd-nat.c (m68kbsd_supply_gregset): Change type of regs to
+       gdb_byte *.
+       * m68k-bsd-nat.c (m68kbsd_supply_fpregset): Likewise.
+       * m68k-bsd-nat.c (m68kbsd_collect_gregset): Likewise.
+       * m68k-bsd-nat.c (m68kbsd_supply_pcb): Cast &tmp to gdb_byte *.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * m68k-bsd-nat.c (m68k_bsd_nat_target): Inherit from
+       nbsd_nat_target instead of inf_ptrace_target.
+       * m68k-bsd-nat.c: Include "nbsd-nat.h", as we are now using
+       nbsd_nat_target.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * m68k-bsd-nat.c: Define _KERNTYPES to get the declaration of
+       register_t.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * alpha-bsd-nat.c (fetch_registers): New variable lwp and pass
+       it to the ptrace call.
+       * alpha-bsd-nat.c (store_registers): Likewise.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * alpha-bsd-nat.c: Remove <sys/procfs.h> and "gregset.h" from
+       includes.
+       * alpha-bsd-nat.c (gregset_t, fpregset_t): Remove.
+       * alpha-bsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
+       fill_fpregset): Likewise.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * alpha-bsd-nat.c (alpha_netbsd_nat_target): Inherit from
+       nbsd_nat_target instead of inf_ptrace_target.
+       * alpha-bsd-nat.c: Include "nbsd-nat.h", as we are now using
+       nbsd_nat_target.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * alpha-bsd-nat.c: Define _KERNTYPES to get the declaration of
+       register_t.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * arm-nbsd-nat.c (fetch_register): New variable lwp and pass
+       it to the ptrace call.
+       * arm-nbsd-nat.c (fetch_fp_register): Likewise.
+       * arm-nbsd-nat.c (fetch_fp_regs): Likewise.
+       * arm-nbsd-nat.c (store_register): Likewise.
+       * arm-nbsd-nat.c (store_regs): Likewise.
+       * arm-nbsd-nat.c (store_fp_register): Likewise.
+       * arm-nbsd-nat.c (store_fp_regs): Likewise.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * arm-nbsd-nat.c (arm_netbsd_nat_target): Inherit from
+       nbsd_nat_target instead of inf_ptrace_target.
+       * arm-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
+       nbsd_nat_target.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * x86-bsd-nat.c (x86bsd_dr_get): New variable lwp and pass
+       it to the ptrace call.
+       * x86-bsd-nat.c (x86bsd_dr_set): Likewise.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * vax-bsd-nat.c (vaxbsd_supply_gregset): New variable lwp and pass
+       it to the ptrace call.
+       * vax-bsd-nat.c (vaxbsd_collect_gregset): Likewise.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * vax-bsd-nat.c (vaxbsd_supply_gregset): Cast gregs to const
+       gdb_byte *.
+       * vax-bsd-nat.c (vaxbsd_collect_gregset): Cast gregs to void *.
+
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * vax-bsd-nat.c (vax_bsd_nat_target): Inherit from nbsd_nat_target
+       instead of inf_ptrace_target.
+       * vax-bsd-nat.c: Include "nbsd-nat.h", as we are now using
+       nbsd_nat_target.
+
 2020-03-14  Kamil Rytarowski  <n54@gmx.com>
 
        * mips-nbsd-nat.c: Define _KERNTYPES to get the declaration of
This page took 0.025532 seconds and 4 git commands to generate.