2003-01-13 Andrew Cagney <ac131313@redhat.com>
[platform/upstream/binutils.git] / gdb / ChangeLog
index 348c50a..bfb822e 100644 (file)
@@ -1,3 +1,145 @@
+2003-01-13  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdb_indent.sh: Update to version 2.2.9.  Warn when not exact
+       version match.
+
+2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * symtab.c (find_pc_sect_line): Don't consider end-of-function
+       lines.
+
+2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * thread-db.c (attach_thread): Prototype.
+       (struct private_thread_info): Remove lwpid.  Add thread handle (th),
+       thread information (ti), and valid flags (th_valid, ti_valid).
+       (attach_thread): Move target_pid_to_str call to after the thread
+       is added to GDB's list.  Initialize the cache.
+       (thread_get_info_callback, thread_db_map_id2thr)
+       (thread_db_get_info): New functions.
+       (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
+       (thread_db_store_registers, thread_db_thread_alive)
+       (thread_db_get_thread_local_address): Use them.
+       (thread_db_pid_to_str): Likewise.  Return "Missing" instead
+       of calling error() for threads in unknown state.
+
+       (clear_lwpid_callback): New function.
+       (thread_db_resume): Use it to clear the cache.
+
+2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
+       (resume_callback): Remove dead code.
+
+2003-01-13  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
+       predicate.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * stack.c (frame_info): Only initialize the saved registers when
+       FRAME_INIT_SAVED_REGS_P.
+       * frame.c (frame_saved_regs_register_unwind): Assert
+       FRAME_INIT_SAVED_REGS_P.
+       (deprecated_generic_get_saved_register): Ditto.
+
+2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * source.c (openp): Squelch warning about "filename".
+
+2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * source.c (openp): If the file does not exist don't necessarily
+       search the path.
+
+2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       Fix PR gdb/872.
+       * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
+       (integer_types_same_name_p): New function.
+       (rank_one_type): Use it.
+       * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
+
+2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
+       variables.
+       (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
+       * configure.in: Add --with-sysroot.
+       * configure: Regenerated.
+       * main.c (gdb_sysroot): New variable.
+       (captured_main): Initialize gdb_sysroot.
+       * defs.h (gdb_sysroot): New extern declaration.
+       * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
+
+2003-01-12  Michael Chastain  <mec@shout.net>
+
+       * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
+
+2003-01-12  Michael Chastain  <mec@shout.net>
+
+       * top.c (print_gdb_version): Bump copyright year to 2003.
+
+2003-01-12  David Carlton  <carlton@bactrian.org>
+
+       * linespec.c (symtab_from_filename): Rename variable 's' to
+       'file_symtab'.
+
+2003-01-12  Andrew Cagney  <ac131313@redhat.com>
+
+       * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
+       dummy frame.
+       (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
+
+2003-01-12  Andrew Cagney  <ac131313@redhat.com>
+
+       * d10v-tdep.c: Include "gdb_assert.h".
+       (d10v_store_return_value): Rewrite to match current interface.
+       (d10v_extract_struct_value_address): Ditto.
+       (d10v_extract_return_value): Ditto.
+       (d10v_gdbarch_init): Set store_restore_value,
+       extract_struct_value_address and extract_return_value.
+
+2003-01-12  J. Brobecker  <brobecker@gnat.com>
+
+       * hpread.c (set_namestring): New procedure replacing the
+       SET_NAMESTRING macro.
+       (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
+       by calls to set_namestring.
+
+2003-01-11  J. Brobecker  <brobecker@gnat.com>
+
+       * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
+       a compilation warning.
+       (hpread_process_one_debug_symbol): Likewise.
+
+2003-01-10  David Carlton  <carlton@math.stanford.edu>
+
+       * linespec.c (decode_line_1): Rename variable 's' to
+       'file_symtab'.
+       (decode_all_digits): Rename argument 's' to 'file_symtab'.
+       (decode_dollar): Ditto.
+       (decode_variable): Ditto.
+       (symbol_found): Ditto.
+
+2003-01-09  Michael Chastain  <mec@shout.net>
+
+       * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
+
+2003-01-07  Corinna Vinschen  <vinschen@redhat.com>
+
+       * win32-nat.c (set_process_privilege): New function.
+       (child_attach): Call set_process_privilege() to enable the
+       SE_DEBUG_NAME user privilege if available in process token.
+
+2003-01-10  J. Brobecker  <brobecker@gnat.com>
+
+       * hpread.c (hpread_process_one_debug_symbol): Fix a small
+       compilation error in the previous revision.
+
+2003-01-09  David Carlton  <carlton@math.stanford.edu>
+
+       * linespec.c: Update copyright.
+
 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
 
        * lin-lwp.c (child_wait): Ignore exit statuses for processes other