* p-lang.c (is_pascal_string_type): Check that TYPE arg is non NULL.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d21e9e8eaca5cc0f2abb742c441eb1a10d99a8a7..2a6037624731711841bee4b3401ba3d281e810e1 100644 (file)
@@ -1,3 +1,266 @@
+2020-03-08  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-lang.c (is_pascal_string_type): Check that TYPE arg is non NULL.
+
+2010-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Hui Zhu  <teawater@gmail.com>
+
+       * record.c (record_open_1): Check tmp_to_stopped_by_watchpoint and
+       tmp_to_stopped_data_address.
+       (record_open): Reset tmp_to_stopped_by_watchpoint and
+       tmp_to_stopped_data_address.
+       * target.c (init_dummy_target): Add to_stopped_by_watchpoint and
+       to_stopped_data_address.
+
+2010-03-08  Hui Zhu  <teawater@gmail.com>
+
+       * i386-tdep.c (i386_process_record): Initialize regnum.
+
+2010-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (addr_info_make_relative): New variable sect_name, use it.
+       Do not warn on ".gnu.liblist" and ".gnu.conflict".
+
+2010-03-08  Joel Brobecker  <brobecker@adacore.com>
+
+       Memory error when reading wrong core file.
+       * solib-svr4.c (solib_svr4_r_map): catch and print all exception
+       errors while reading the inferior memory, and return zero if
+       an exception was raised.
+
+2010-03-07  Michael Snyder  <msnyder@vmware.com>
+
+       * record.c (record_restore): Rename tmpu8 to rectype.
+
+       * i386-tdep.c (i386_record_lea_modrm_addr): Rename local variables
+       tmpu8, tmpi16, tmpi32, tmpulongest to addr8, addr16, addr32, addr64.
+
+       (i386_record_push): Rename local tmpulongest to addr.
+
+       (i386_process_record): Rename local tmpulongest to addr.
+
+       Rename local variables tmpu16, tmpu32, tmpu64 to addr16, addr32,
+       addr64.
+
+       Rename local variable tmpu8 to opcode8 and regnum.
+
+2010-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * remote.c (remote_get_ada_task_ptid): New function.
+        (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
+
+2010-03-06  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * windows-nat.c: Reorganize #ifdef __CYGWIN__ considerations into one
+       block.  Define helper macros to reduce ifdefs in code.
+       (get_module_name): Use cygwin_buf_t for buffer and __PMAX for buffer
+       size.  Call unadorned GetModuleFileNameEx rather than
+       GetModuleFileNameEx*.
+       (windows_make_so): Use __PMAX to denote maximum buffer size and
+       cygwin_buf_t for buffer type.  Use GetSystemDirectory{W,A} as
+       appropriate.
+       (get_image_name): Use __PMAX to denote maximum buffer size.
+       (handle_load_dll): Likewise.
+       (windows_pid_to_exec_file): Likewise.
+       (windows_create_inferior): Add many accommodations for older Cygwin and
+       non-Cygwin.
+       (bad_GetModuleFileNameExW): Control inclusion of this function based on
+       __USEWIDE conditional.
+       (bad_GetModuleFileNameExA): Likewise.
+       (_initialize_loadable): Just use real function names without the dyn_
+       part since they are defined earlier.
+
+2010-03-05  Corinna Vinschen  <vinschen@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * utils.c (host_char_to_target): Add 'gdbarch' argument.
+       (parse_escape): Likewise.
+       * python/py-utils.c (unicode_to_target_string): Update.
+       (unicode_to_target_python_string): Update.
+       (target_string_to_unicode): Update.
+       * printcmd.c (printf_command): Update.
+       * p-exp.y (yylex): Update.
+       * objc-exp.y (yylex): Update.
+       * mi/mi-parse.c: Include charset.h.
+       (mi_parse_escape): New function.
+       (mi_parse_argv): Use it.
+       * jv-exp.y (yylex): Update.
+       * i386-cygwin-tdep.c (i386_cygwin_auto_wide_charset): New
+       function.
+       (i386_cygwin_init_abi): Call set_gdbarch_auto_wide_charset.
+       * gdbarch.sh (auto_charset, auto_wide_charset): New.
+       * gdbarch.c: Rebuild.
+       * gdbarch.h: Rebuild.
+       * defs.h (parse_escape): Update.
+       * cli/cli-setshow.c: Include arch-utils.h.
+       (do_setshow_command): Update.
+       * cli/cli-cmds.c (echo_command): Update.
+       * charset.h (target_charset, target_wide_charset): Update.
+       * charset.c: Include arch-utils.h.
+       (target_charset_name): Default to "auto".
+       (target_wide_charset_name): Likewise.
+       (show_target_charset_name): Handle "auto".
+       (show_target_wide_charset_name): Likewise.
+       (be_le_arch): New global.
+       (set_be_le_names): Add 'gdbarch' argument.
+       (validate): Likewise.  Don't call set_be_le_names.
+       (set_charset_sfunc, set_host_charset_sfunc)
+       (set_target_charset_sfunc, set_target_wide_charset_sfunc):
+       Update.
+       (target_charset): Add 'gdbarch' argument.
+       (target_wide_charset): Likewise.  Remove 'byte_order' argument.
+       (auto_target_charset_name): New global.
+       (default_auto_charset, default_auto_wide_charset): New functions.
+       (_initialize_charset): Set auto_target_charset_name.  Allow "auto"
+       for target charsets.  Copy result of nl_langinfo.  Use GetACP if
+       USE_WIN32API.
+       * c-lang.c (charset_for_string_type): Add 'gdbarch' argument,
+       remove 'byte_order' argument.  Update.
+       (classify_type): Likewise.
+       (c_emit_char): Update.
+       (c_printchar): Update.
+       (c_printstr): Update.
+       (c_get_string): Update.
+       (evaluate_subexp_c): Update.
+       * arch-utils.h (default_auto_charset, default_auto_wide_charset):
+       Declare.
+       * python/python.c (gdbpy_target_charset): New function.
+       (gdbpy_target_wide_charset): Likewise.
+       (GdbMethods): Update.
+       * NEWS: Update.
+
+2010-03-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * symfile.c (build_section_addr_info_from_objfile): Do not mask
+       off high address bits.
+
+2010-03-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract
+       address as UnsignedLongLong, not LongLong.
+
+2010-03-05  Kevin Buettner  <kevinb@redhat.com>
+            Pedro Alves  <pedro@codesourcery.com>
+
+       * remote-mips.c (gdbthread.h): Include.
+       (remote_mips_ptid): Declare.
+       (mips_error): Only mourn the inferior when inferior_ptid is non-null.
+       (common_open): Set inferior_ptid, add it as an inferior, and
+       as a thread too.  Delete FIXME comment regarding start_remote().
+       (mips_close): Invoke generic_mourn_inferior().
+       (mips_kill): Make sure that target_mourn_inferior is invoked.
+       (mips_mourn_inferior): Don't invoke generic_mourn_inferior, as
+       it's now invoked from mips_close().
+       (mips_load): Don't null out inferior_ptid.  Don't call
+       clear_symtab_users().
+       (mips_thread_alive, mips_pid_to_str): New functions.
+       (_initialize_remote_mips): Initialize remote_mips_ptid.  Initialize
+       to_thread_alive and to_pid_to_str operations.
+
+2010-03-04  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (skip_one_die) <DW_FORM_ref_addr>: Use offset size
+       in DWARF 3 and later.
+       (read_attribute_value) <DW_FORM_ref_addr>: Likewise.
+
+2010-03-04  Keith Seitz  <keiths@redhat.com>
+
+       * linespec.c (decode_line_1): Update comments for is_quote_enclosed.
+       If the filename portion of the linespec was quoted, recheck the
+       remainder for additional quoting.
+       (locate_first_half): Skip over completer chars, too.
+
+2010-03-04  Tom Tromey  <tromey@redhat.com>
+
+       * printcmd.c (printf_command): Pass dummy argument to
+       printf_filtered.
+
+2010-03-04  Doug Evans  <dje@google.com>
+
+       * arm-tdep.c (arm_make_stub_cache): Delete unused locals reg,
+       unwound_fp.
+
+       * arm-tdep.c (arm_stub_unwind_sniffer): Add comment.
+
+2010-03-04  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (update_watchpoint): Create a sentinel location if
+       the software watchpoint isn't watching any memory.
+       (breakpoint_address_bits): Skip dummy software watchpoint locations.
+
+2010-03-04  Pedro Alves  <pedro@codesourcery.com>
+
+       * utils.c (fputs_maybe_filtered): Check if there's already a top
+       level interpreter before dereferencing it.  If there isn't one,
+       don't paginate either.
+
+2010-03-04  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm-tdep.c (arm_pc_is_thumb): Add heuristic that tries to get
+       the state right when single stepping.
+       (arm_get_next_pc_raw, thumb_get_next_pc_raw): New functions.
+       Get the next PC along with the instruction state.
+       (thumb_get_next_pc): Remove.
+       (arm_get_next_pc): Modified to use arm_get_next_pc_raw.
+
+2010-03-04  Hui Zhu  <teawater@gmail.com>
+
+       * i386-tdep.c (i386_process_record): Change "addr" to "tmpu64".
+
+2010-03-03  Pedro Alves  <pedro@codesourcery.com>
+
+       * utils.c (fputs_maybe_filtered): Always disable pagination if the
+       top level interpreter is MI.
+
+2010-03-03 Stan Shebs  <stan@codesourcery.com>
+
+       * remote.c (remote_download_tracepoint): Iterate over locations.
+       * tracepoint.c (validate_actionline): Ditto.
+       (encode_actions): Add location argument.
+       (trace_dump_command): Check all locations to see if stepping
+       frame.
+
+2010-03-03  H.J. Lu  <hongjiu.lu@intel.com>
+           Eli Zaretskii  <eliz@gnu.org>
+
+       * NEWS: Add X86 general purpose registers section.
+
+2010-03-03  Tom Tromey  <tromey@redhat.com>
+
+       PR mi/11098:
+       * varobj.c (install_new_value): Handle case where new print_value
+       is NULL.
+
+2010-03-03  Dainis Jonitis  <jonitis@gmail.com>
+
+       PR gdb/11345:
+       * printcmd.c (printf_command): Print end of format string using
+       printf_filtered.
+
+2010-03-02  Tom Tromey  <tromey@redhat.com>
+
+       * mi/mi-cmd-break.c (mi_read_next_line): Add missing 'void'.
+       * defs.h (read_command_lines_1): Add missing 'void'.
+       * cli/cli-script.c (recurse_read_control_structure): Add missing
+       'void'.
+       (read_next_line): Likewise.
+       (read_command_lines_1): Likewise.
+
+2010-03-02  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c (spu_analyze_prologue): Track instruction to
+       store backchain as part of prologue.
+
+2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * progspace.c (update_address_spaces): Update inferior address spaces
+       also.
+
+2010-03-02  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (add_partial_subprogram): Add missing baseaddr to
+       lowpc,highpc args to addrmap_set_empty.
+
 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
 
        * amd64-tdep.c (amd64_byte_names): New.
This page took 0.027983 seconds and 4 git commands to generate.