X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=5828b50c065ce122bd4e78d1afffde9c881cdac7;hb=7d69eeecda86a4e30c825975c457cc6ffdc396cc;hp=fc02819e8b58322277ac7c26bd8a8e0aa191e64b;hpb=86884b3733ff6a828afe732e7b43ce23c5d0ea6b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fc02819e8b..5828b50c06 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,316 @@ +2001-11-26 Jakub Jelinek + + * sparc-nat.c (fetch_inferior_registers): Don't rely + on CORE_ADDR being 32-bit. + (store_inferior_registers): Likewise. + +2001-11-25 Eli Zaretskii + + * config/djgpp/config.sed: Fix an error in etc/ at "make install" + time on non-LFN systems where standards*.inf* expands to nothing. + + * go32-nat.c (save_npx): Avoid a warning from GCC 3.x. + +2001-11-24 Pierre Muller + Christopher Faylor + + * win32-nat.c (struct so_stuff): Add objfile *objfile field needed to + be able to remove the DLL when unloaded. Remove unused last field. + (handle_unload_dll): New function to handle unloading of DLL. + (solib_symbols_add): Change return type to struct objfile *. + (get_child_debug_event): Call handle_unload_dll function. + +2001-11-24 Christopher Faylor + + * win32-nat.c (_initialize_check_for_gdb_ini): New function. + * config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__. + (GDBINIT_FILENAME): Remove. + +2001-11-23 Mark Kettenis + + Add x86 OpenBSD native configuration. + * config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh, + config/i386/nm-obsd.h: New files. + * configure.host (i[3456]86-*-openbsd*): New host. + * configure.tgt (i[3456]86-*-openbsd*): New target. + * NEWS: Update. + +2001-11-21 GDB Administrator + + * GDB 5.1 was released. + +2001-11-21 Tom Tromey + + Fix for PR gdb/209, PR gdb/156: + * gdbarch.c, gdbarch.h: Rebuilt. + * gdbarch.sh: Added `construct_inferior_arguments'. + * cli/cli-decode.h (cmd_list_element): Added pre_show_hook. + Typo fix. + * cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook. + * infcmd.c (_initialize_infcmd): Set sfunc on `set args' command. + (inferior_argc, inferior_argv): New globals. + (notice_args_set): New function. + (set_inferior_args): Clear inferior_argc and inferior_argv. + (set_inferior_args_vector): New function. + (get_inferior_args): Handle inferior argument vector. + (run_command): Use get_inferior_args(). + (notice_args_read): New function. + (_initialize_infcmd): Don't call set_inferior_args. + * command.h: Typo fix. + (cmd_list_element): Added pre_show_hook. + * main.c (captured_main): Added --args option. + (print_gdb_help): Document --args. + * inferior.h (construct_inferior_arguments): Declare. + (set_inferior_args_vector): Likewise. + * fork-child.c (construct_inferior_arguments): New function. + +2001-11-21 Kevin Buettner + + * lin-lwp.c (lin_lwp_attach_lwp): Make sure SIGCHLD is in set of + blocked signals. + + * lin-lwp.c (lin_lwp_attach_lwp): Mark main thread as stopped. + +2001-11-20 Jim Blandy + + * target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete + default definition; this is never used. + +2001-11-20 Keith Seitz + + * varobj.c (c_value_of_child): Release memory for "name" when + finshed using it. + (c_type_of_child): Likewise. + (cplus_value_of_child): Isolate the use of name_of_child to + one case that needs it. + Release memory for "name" when finished using it. + +2001-11-20 Keith Seitz + + * top.c (gdb_init): Call init_ui_hook before initializing + the default UI. + +2001-11-19 Elena Zannoni + + * config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern + declaration. + +2001-11-19 Elena Zannoni + + * ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of + accessing registers[]. + (fill_fpregset): Ditto. + +2001-11-19 Elena Zannoni + + * infptrace.c (fetch_register): Dynamically allocate buffer for + register. + (store_register): Use regcache_collect, instead of accessing the + register buffer directly. + +2001-11-19 Daniel Jacobowitz + + * mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass + cur_frame to heuristic_proc_desc. + (heuristic_proc_desc): Add cur_frame argument. Do not read SP + if cur_frame == 0. + (after_prologue): Pass cur_frame == 0 to find_proc_desc. + (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc. + (mips_init_extra_frame_info): Likewise. + +2001-11-19 Andrew Cagney + + * defs.h (return_to_top_level): Comment. + +Mon Nov 19 14:58:52 2001 Andrew Cagney + + * remote.c (remote_open_1, remote_async_open_1): Use ISO C string + concatenation for error parameter. + (remote_cisco_open): Ditto. + +2001-11-19 Keith Seitz + + * varobj.c (c_value_of_child): Use the wrapper function, + gdb_value_struct_elt. + (cplus_value_of_child): Likewise. + +2001-11-18 Andrew Cagney + + * i386-tdep.c (i386_gdbarch_init): Initialize num_regs. + * config/i386/tm-i386.h (NUM_REGS): Delete. + +2001-11-18 Kevin Buettner + + * i386-linux-nat.c (fill_gregset): Fix botched regcache_collect() + conversion for I386_LINUX_ORIG_EAX_REGNUM. + +2001-11-18 Andrew Cagney + + * config/i386/embed.mt (TM_FILE): Set to tm-i386.h. + * config/i386/tm-embed.h: Delete. + +2001-11-17 Andrew Cagney + + * Makefile.in (distclean): Explicitly delete Makefile et.al. in + gdbserver sub directory. + +2001-11-17 Andrew Cagney + + * README: Mention need for alloca(). Mention problems with + alpha-dec-osf4.0e. Clarify that comments refer to GDB 5.1. + +2001-11-17 Kevin Buettner + + * i386-linux-nat.c (fill_gregset): Use regcache_collect() instead + of accessing registers[] directly. + +2001-11-17 Kevin Buettner + + * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen() + when fetching ORIG_EAX. + +2001-11-17 Daniel Jacobowitz + + * arm-linux-nat.c: Don't include . + (fetch_register): Use elf_gregset_t instead of struct pt_regs. + (fetch_regs): Likewise. + (store_register): Likewise. + (store_regs): Likewise. + +2001-11-17 Daniel Jacobowitz + + * sparc-linux-nat.c (fill_gregset): Replace read_register_gen + with regcache_collect. + (fill_fpregset): Likewise. + +2001-11-17 Daniel Jacobowitz + + * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c, + and sparc-linux-nat.c to ALLDEPFILES. Add dependencies. + * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES. + * sparc-linux-nat.c: New file, from Mark Kettenis. + +2001-11-16 Jakub Jelinek + + * dwarf2read.c (dwarf_str_buffer): New. + (struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size. + (DWARF_STR_BUFFER, DWARF_STR_SIZE): Define. + (dwarf2_has_info): Clear dwarf_str_offset. + (dwarf2_build_psymtabs): Read .debug_str section if present. + (dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and + DWARF_STR_SIZE. + (psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE. + (read_attribute): Handle DW_FORM_strp. + (read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8 + handling code. + (read_indirect_string): New. + (dump_die): Handle DW_FORM_strp. + +2001-11-16 Jim Blandy + + * s390-tdep.c: Tweak argument-passing to match GCC bugs. + (is_float_singleton, is_struct_like, is_float_like): New + functions, that isolate the weirdness. + (is_double_or_float, is_simple_arg, pass_by_copy_ref, + is_double_arg): Use is_struct_like and is_float_like, rather than + testing the type codes ourselves. + (s390_push_arguments): When passing args on the stack, align each + on to a four-byte boundary, regardless of what the type itself + needs. + +2001-11-16 Ben Harris + + * Makefile.in (os9kread.o): Replace $< with autoconf-approved + $(srcdir)/.... + (procfs.o): Ditto. + (z8k-tdep.o): Ditto. + +2001-11-16 Ben Harris + + * MAINTAINERS (write-after-approval): Add self. + +2001-11-15 Jim Blandy + + * s390-tdep.c (is_simple_arg): Structs and unions exactly eight + bytes long should be handled as DOUBLE_ARGs; don't recognize them + as SIMPLE_ARGs. + +2001-11-12 Andrew Cagney + + * remote.c (struct packet_reg): Declare. + (struct remote_state): Add fields sizeof_g_packet and g_packet. + (init_remote_state): Initialize sizeof_g_packet and g_packet. + (free_remote_state): Free g_packet. + (packet_reg_from_pnum, packet_reg_by_regnum): New functions. + (remote_wait): Use above instead of gdbarch methods + REGISTER_RAW_SIZE and REGISTER_BYTES. + (remote_async_wait): Ditto. + (remote_fetch_registers, remote_store_registers): Ditto. + (store_register_using_P): Ditto. + +2001-11-15 Andrew Cagney + + * remote.c (_initialize_remote): Don't multi-arch swap tty_input. + Second attempt. + +2001-11-15 Andrew Cagney + + * utils.c (phex_nz): For default case, set str to phex_nz return + value. + (phex): Ditto. + +2001-11-15 Andrew Cagney + + * TODO (register_buffer): Delete. + * regcache.c (register_buffer): Make static. + (regcache_collect): New function. + * regcache.h (register_buffer): Delete declaration. + (regcache_collect): Declare. + * remote.c (store_register_using_P): Rewrite using + regcache_collect. + (remote_store_registers): Ditto. + * go32-nat.c (store_register): Ditto. + +2001-11-14 Andrew Cagney + + * remote.c (struct remote_state): Declare. + (get_remote_state): New function. + (init_remote_state): New function. + (remote_gdbarch_data_handle): New global. + (build_remote_packet_sizes): Delete function, moved to + init_remote_state. + (register_remote_packet_sizes): Delete function. + (actual_register_packet_size, remote_packet_size): Moved to + ``struct remote_state''. + (PBUFSIZE): Delete. Replaced by rs->remote_packet_size. + (free_remote_state): New function. + (get_memory_packet_size, get_memory_read_packet_size) + (set_thread, remote_unpack_thread_info_response) + (remote_get_threadinfo, parse_threadlist_response) + (remote_get_threadlist, remote_current_thread) + (remote_threads_info, remote_threads_extra_info) + (extended_remote_restart, get_offsets) + (get_offsets, remote_check_symbols, remote_open_1) + (remote_async_open_1, remote_detach, remote_async_detach) + (remote_resume, remote_async_resume, remote_wait) + (remote_async_wait, remote_fetch_registers) + (store_register_using_P, remote_store_registers) + (check_binary_download, putpkt_binary) + (remote_insert_breakpoint, remote_remove_breakpoint) + (remote_insert_watchpoint, remote_remove_watchpoint) + (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint) + (compare_sections_command, remote_query) + (remote_rcmd, remote_rcmd, packet_command) + (remote_info_process): Update. + +2001-11-14 Andrew Cagney + + * remote.c: Include "gdb_assert.h". + (tty_input): Wire buffer to 400 bytes. + (readsocket): Check tty_input doesn't overflow. + (build_remote_gdbarch_data, _initialize_remote): Don't multi-arch + tty_input. + 2001-11-14 Michael Snyder * d10v-tdep.c (d10v_pointer_to_address): Use new type flag