]> Git Repo - binutils.git/blobdiff - gdb/ChangeLog
* varobj.c (varobj_set_value): Make sure that there were no
[binutils.git] / gdb / ChangeLog
index b1f4539b9bc12cc91fe74e44b173de49d8fae1af..9099360cace648e8c913b5992f41e9509397c468 100644 (file)
@@ -1,5 +1,246 @@
+2002-01-13  Keith Seitz  <[email protected]>
+
+       * varobj.c (varobj_set_value): Make sure that there were no
+       errors evaluating the object before attempting to set its
+       value.
+       value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
+       so this offset adjustment is no longer necessary.
+       (create_child): Don't set the error flag if the child is
+       a CPLUS_FAKE_CHILD.
+       (value_of_child): If value_fetch_lazy fails, return NULL
+       so that callers will be notified that an error occurred.
+       (c_value_of_variable): Delay check of variable's validity
+       until later. We actually want all structs and unions to have
+       the value "{...}".
+       Do not return "???" for variables which could not be evaluated.
+       This error condition must be returned to the caller so that it
+       can get the error condition from gdb.
+       (cplus_name_of_child): Adjust index for vptr before figuring
+       out the name of the child.
+       (cplus_value_of_child): If a child's (real) parent is not valid,
+       don't even bother trying to give a value for it. Just return
+       an error. Change all instances in this function.
+       (cplus_type_of_child): If our parent is one of the "fake"
+       parents, we need to get at the type of the real parent, and
+       derive the child's true type using this information.
+
+2002-01-13  Andrew Cagney  <[email protected]>
+
+       From 2002-01-09 John Marshall <[email protected]>:
+       * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
+       sources.redhat.com, and tweak some related URLs which had
+       suffered from linkrot.
+
+2002-01-13  Andrew Cagney  <[email protected]>
+
+       From Jeff law:
+       * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
+       structures passed in registers.
+
+2002-01-13  Eli Zaretskii  <[email protected]>
+
+       * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
+       white space which prevented compilation.  Reported by DSK
+       <[email protected]>.
+
+2002-01-11  Michael Snyder  <[email protected]>
+
+       * symfile.c (build_section_addr_info_from_section_tab):
+       Use bfd access method instead of manipulating bfd directly.
+       (syms_from_objfile): Ditto.
+       (simple_overlay_update_1): Ditto.
+       (simple_overlay_update): Ditto.
+       (generic_load): Ditto.
+       (overlay_unmapped_address): FIXME comment, bfd access methods.
+       (sections_overlap): FIXME comment, bfd access methods.
+       (pc_in_mapped_range): FIXME comment, bfd access methods.
+       (pc_in_unmapped_range): FIXME comment, bfd access methods.
+       (section_is_mapped): FIXME comment, bfd access methods.
+       (section_is_overlay): FIXME comment, bfd access methods.
+
+       * symfile.c (generic_load): Whitespace and long line cleanups.
+       Remove duplicate variable, change several local variables to
+       more appropriate data types.
+       (print_transfer_performance): Use %lu instead of %ld for ulongs.
+
+2002-01-12  Andrew Cagney  <[email protected]>
+
+       From Peter Schauer:
+       * language.c (longest_local_hex_string_custom): Use phex_nz to
+       convert NUM to a hex string.
+
+2002-01-12  Elena Zannoni  <[email protected]>
+
+       * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
+       the function.
+       Update Copyright year.
+
+2002-01-12  Andrew Cagney  <[email protected]>
+
+       * language.c (longest_raw_hex_string): Delete unused function.
+
+2002-01-11  Petr Sorfa  <[email protected]>
+
+       * MAINTAINERS (write-after-approval): Add myself.
+       * dwarf2read.c (read_tag_string_type): Handling of
+       DW_AT_byte_size.
+       (read_tag_string_type): FORTRAN fix to prevent propagation of
+       first string size.
+       (set_cu_language): Handling of DW_LANG_Fortran95
+
+2002-01-11  Richard Earnshaw  <[email protected]>
+
+       * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
+       GETPID(inferior_ptid).
+       (store_inferior_registers): Likewise.
+
+2002-01-10  Jason Merrill  <[email protected]>
+
+       * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
+       Fix DW_OP_minus.
+
+2002-01-10  Andrew Cagney  <[email protected]>
+
+       * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
+       and bfd/elf32-sh-nbsd.c.
+
+2002-01-10  Michael Snyder  <[email protected]>
+
+       * NEWS: Mention --pid and corefile/proc-id behavior change.
+
+       * Makefile.in: Add rules for gcore.o and linux-proc.o.
+       * gcore.c: Include cli/cli-decode.h instead of command.h.
+
+       * main.c (captured_main): Add new command line option "--pid".
+       If the second command line argument (following the symbol-file)
+       begins with a digit, try to attach to it before trying to open
+       it as a corefile.
+       (print_gdb_help): Document the "--pid" argument.
+
+2002-01-10  Eli Zaretskii  <[email protected]>
+
+       * completer.c (command_completer): New function.
+
+       * completer.h <command_completer>: Add prototype.
+
+       * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
+       completer for the "help" command.
+
+2002-01-09  Jason Merrill  <[email protected]>
+
+       * c-typeprint.c (is_type_conversion_operator): Fix thinko.
+
+2002-01-09  Michael Snyder  <[email protected]>
+
+       * i386-linux-nat.c (fill_fpxregset): Make global.
+       (store_fpxregset): Ditto.
+
+       * gregset.h (gdb_fpxregset_t): Define.
+       (supply_fpxregset): Prototype.
+       (fill_fpxregset): Prototype.
+
+       * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
+
+2002-01-09  Richard Earnshaw  <[email protected]>
+
+       * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
+       * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
+       * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
+
+2002-01-09  Andrew Cagney  <[email protected]>
+
+       * MAINTAINERS: Update target maintainer rules so that any
+       Maintainer can approve a tested patch for a maintenance-only
+       target.
+
+2002-01-09  Richard Earnshaw  <[email protected]>
+
+       * MAINTAINERS (write-after-approval): Add myself.
+
+       * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
+       IN_SIGTRAMP.
+
+2002-01-08  Michael Snyder  <[email protected]>
+
+       * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
+       real name of the executable, rather than the /proc name.
+
+2002-01-03  Michael Snyder  <[email protected]>
+
+       Implement a "generate-core-file" command in gdb, save target state.
+       * gcore.c: New file.  Implement new command 'generate-core-file'.
+       Save a corefile image of the current state of the inferior.
+       * linux-proc.c: Add linux-specific code for saving corefiles.
+       * target.h (struct target_ops): Add new target vectors for saving
+       corefiles; to_find_memory_regions and to_make_corefile_notes.
+       (target_find_memory_regions): New macro.
+       (target_make_corefile_notes): New macro.
+       * target.c (update_current_target): Inherit new target methods.
+       (dummy_find_memory_regions): New place-holder method.
+       (dummy_make_corefile_notes): New place-holder method.
+       (init_dummy_target): Initialize new dummy target vectors.
+       * exec.c (exec_set_find_memory_regions): New function.
+       Allow the exec_ops vector for memory regions to be taken over.
+       (exec_make_note_section): New function, target vector method.
+       * defs.h (exec_set_find_memory_regions): Export prototype.
+       * procfs.c (proc_find_memory_regions): New function, corefile method.
+       (procfs_make_note_section): New function, corefile method.
+       (init_procfs_ops): Set new target vector pointers.
+       (find_memory_regions_callback): New function.
+       (procfs_do_thread_registers): New function.
+       (procfs_corefile_thread_callback): New function.
+       * sol-thread.c (sol_find_memory_regions): New function.
+       (sol_make_note_section): New function.
+       (init_sol_thread_ops): Initialize new target vectors.
+       * inftarg.c (inftarg_set_find_memory_regions): New function.
+       Allow to_find_memory_regions vector to be taken over.
+       (inftarg_set_make_corefile_notes): New function.
+       Allow to_make_corefile_notes vector to be taken over.
+       * thread-db.c (thread_db_new_objfile): Don't activate thread-db
+       interface layer if not target_has_execution (may be a corefile).
+       * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
+       * config/sparc/sun4sol2.mh: Ditto.
+       * config/alpha/alpha-linux.mh: Ditto.
+       * config/arm/linux.mh: Ditto.
+       * config/i386/x86-64linux.mh: Ditto.
+       * config/ia64/linux.mh: Ditto.
+       * config/m68k/linux.mh: Ditto.
+       * config/mips/linux.mh: Ditto.
+       * config/powerpc/linux.mh: Ditto.
+       * config/sparc/linux.mh: Ditto.
+
+2002-01-07  Michael Snyder  <[email protected]>
+
+       * arm-linux-nat.c: Remove references to regcache.c internal data
+       (registers[] and register_valid[]).
+
+2002-01-07  Michael Snyder  <[email protected]>
+
+       * linux-proc.c: New file.  Implement child_pid_to_exec_file, 
+       so that attaching to a pid will automatically read the process's 
+       symbol file and shlibs.
+       * Makefile.in: Add rule for linux-proc.o.
+       * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
+       * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
+       * config/arm/linux.mh: Ditto.
+       * config/i386/linux.mh: Ditto.
+       * config/i386/x86-64linux.mh: Ditto.
+       * config/ia64/linux.mh: Ditto.
+       * config/m68k/linux.mh: Ditto.
+       * config/mips/linux.mh: Ditto.
+       * config/powerpc/linux.mh: Ditto.
+       * config/sparc/linux.mh: Ditto.
+
+2002-01-06  Pierre Muller  <[email protected]>
+
+       * win32-nat.c: Add i386-tdep.h dependency.
+
 2002-01-07  Michael Snyder  <[email protected]>
 
+       * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
+       instead of bfd_get_arch_size.  Don't bail out just because
+       there's no exec_bfd.
+       
        * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
        * p-valprint.c (pascal_object_print_value): Ditto.
        * somread.c (som_symtab_read): Ditto.
This page took 0.030337 seconds and 4 git commands to generate.