2009-07-20 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f07defa380e65f28e7f0179b9d683909dd7e6bff..fccad0b66f0e39977e77a329f97a7f9165b084ca 100644 (file)
@@ -1,3 +1,64 @@
+2009-07-20  Pedro Alves  <pedro@codesourcery.com>
+
+       * features/gdb-target.dtd (target): Accept an optional 'osabi'
+       element.
+       (osabi): Define element.
+       * features/mips-linux.xml (target): Add an osabi subelement set to
+       GNU/Linux.
+       * regformats/regdat.sh (xmlarch, xmlosabi): New variables.  Don't
+       write the architecture into $xmltarget.  Store it in $xmlarch.
+       Handle the 'osabi' type.  Handle outputting the osabi element of
+       the target description.
+       * regformats/reg-x86-64-linux.dat (osabi): Set to GNU/Linux.
+       * regformats/reg-i386-linux.dat (osabi): Set to GNU/Linux.
+
+       * target-descriptions.h (tdesc_osabi, set_tdesc_osabi): Declare.
+       * target-descriptions.c (struct target_desc) <osabi>: New field.
+       (tdesc_osabi): New function.
+       (set_tdesc_osabi): New function.
+       * xml-tdesc.c: Include osabi.h.
+       (tdesc_end_osabi): New.
+       (target_children): Parse "osabi" elements.
+       * arch-utils.c (gdbarch_info_fill): Try to get the osabi from the
+       target description if the user didn't override it or it is not
+       extractable from the bfd.  If that still fails, fallback to the
+       configured in default.
+       * osabi.h (osabi_from_tdesc_string): Declare.
+       * osabi.c (osabi_from_tdesc_string): New.
+       (gdbarch_lookup_osabi): Return GDB_OSABI_UNKNOWN instead of
+       GDB_OSABI_DEFAULT.
+
+       * NEWS: Mention that target descriptions can now describe the
+       target OS ABI.
+
+2009-07-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_FUNCS): Check for pipe.
+       * config.in, configure: Regenerate.
+       * tui/tui-io.c (TUI_USE_PIPE_FOR_READLINE): Define if HAVE_PIPE.
+
+2009-07-20  Pedro Alves  <pedro@codesourcery.com>
+
+       * gnu-nat.c: Include "inf-child.h".
+       (gnu_mourn_inferior): Use the passed in target_ops
+       instead of the gnu_ops global.
+       (gnu_create_inferior): Inline `attach_to_child', use the passed in
+       target_ops instead of the gnu_ops global.
+       (gnu_can_run): Delete.
+       (gnu_attach): Use the passed in target_ops instead of the gnu_ops
+       global.
+       (gnu_detach): Ditto.
+       (gnu_prepare_to_store, gnu_open): Delete.
+       (gnu_store_registers, gnu_fetch_registers): Delete declarations.
+       (gnu_ops): Delete.
+       (init_gnu_ops): Delete.
+       (gnu_target): New.
+       (_initialize_gnu_nat): Don't call init_gnu_ops or add_target here.
+       * gnu-nat.h (gnu_target): Declare.
+       * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Make
+       static.
+       (_initialize_i386gnu_nat): New.
+
 2009-07-20  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * dwarf2loc.c (find_location_expression): Retrieve beginning and
This page took 0.024438 seconds and 4 git commands to generate.