X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=82bde3efb7bb75225fe8b03b8701725a88348d1f;hb=f7c9d7b6986678dc1be12199492d97ff2624c2d8;hp=ecbdde402a33d531a0f89006315dc6df76a47ff1;hpb=726230095ecb85068a9c517291df03f34b11464f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ecbdde402a..82bde3efb7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,531 @@ +2000-09-15 Fernando Nasser + + * ser-unix.c (do_unix_readchar): Prevent infinite read wait to be + interrupted after 32K seconds. + +2000-09-15 Kevin Buettner + + * language.c (show_case_command, set_case_command): Protoize. + * m3-nat.c (m3_xfer_memory, fetch_thread_info): Protoize. + +2000-09-12 Kevin Buettner + + * lin-thread.c (threadlist_iter, get_lwp_from_thread_id, + thread_db_xfer_memory): Protoize. + * linux-thread.c (iterate_active_threads): Protoize. + +2000-09-12 Kevin Buettner + + * objfiles.c (objfile_relocate): Don't assume that offsets + associated with one of SECT_OFF_TEXT, SECT_OFF_DATA, or + SECT_OFF_BSS will be adequate for relocating all of the + sections in an objfile. + +2000-09-12 Fernando Nasser + + * remote-rdi.c (arm_rdi_open): Fix typo in error message. + +Wed Sep 13 03:08:32 2000 Andrew Cagney + + * remote-mips.c (mips_expect, mips_getstring, mips_send_packet, + mips_send_packet, pmon_insert_breakpoint, send_srec, + pmon_check_ack, pmon_check_entry_address, + _initialize_remote_mips): Replace the magic two seconds with + ``remote_timeout''. + (pmon_check_entry_address, pmon_check_total): New functions. Use + ``remote_timeout'' instead of magic two seconds. + (pmon_end_download): Rewrite. Use pmon_check_entry_address and + pmon_check_total. + +2000-09-12 Alexandre Oliva + + * MAINTAINERS: Added myself. + +2000-09-11 Alexandre Oliva + + * acinclude.m4 (CY_GNU_GETTEXT): Add dummy definition, so that the + one brought in by ../bfd/acinclude.m4 prevails. + * aclocal.m4, configure: Rebuilt. + +2000-09-11 Kevin Buettner + + * configure.in (HAVE_STRUCT_LINK_MAP32): Change test to use + AC_TRY_COMPILE instead of AC_TRY_RUN. + * configure: Regenerate. + +2000-09-11 Kevin Buettner + + * irix4-nat.c (fetch_core_registers): Protoize. + * irix5-nat.c (fetch_core_registers, find_solib): Protoize. + +2000-09-06 Mark Kettenis + + * lin-lwp.c (normal_mask, blocked_mask): New variables. + (lin_lwp_wait): Block SIGCHLD here if it isn't already blocked. + (lin_lwp_mourn_inferior): Restore the origional signal mask, and + reset the mask of blocked signals. + (_initialize_lin_lwp): Don't block SIGCHLD here, but do initialize + suspend_mask and blocked_mask. This makes us pass + gdb.base/sigall.exp for Linux/x86 now. + (lin_thread_get_thread_signals): Treat the LinuxThreads "cancel" + signal similarly to SIGCHLD in the generic code. Avoids GDB being + terminated by a Real-time signal. + +2000-09-08 Kevin Buettner + + * infptrace.c, infttrace.c (child_xfer_memory): Protoize. + +2000-09-07 J.T. Conklin + + * config/i386/nbsd.mt (TDEPFILES): Add i386nbsd-tdep.o. + * i386nbsd-nat.c (i386nbsd_use_struct_convention): Moved from here. + * i386nbsd-tdep.c (i386nbsd_use_struct_convention): To here. + * i386nbsd-tdep.c: New file. + +2000-09-07 Kevin Buettner + + * i386mach-nat.c (fetch_inferior_registers, fetch_core_registers): + Protoize. + * i960-tdep.c (i960_skip_prologue, leafproc_return, mem): Protoize. + +Thu Sep 7 21:59:23 2000 Andrew Cagney + + * aclocal.m4: Regenerate. + * config.in, configure: Regenerate. + +Wed Sep 6 23:15:43 2000 Andrew Cagney + + * remote-rdi.c (voiddummy): Update function signature to match + struct Dbg_HostosInterface's reset method. + * remote-rdp.c (rdp_step): Fix handle parameter to + remote_rdp_insert_breakpoint and remote_rdp_remove_breakpoint. + + * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P): Provide default + definition. + (arm_init_extra_frame_info): Use. + +2000-09-06 Stephane Carrez + + * m68hc11-tdep.c (m68hc11_store_return_value): Store the value + in D and X if it's larger than 16-bits. + (m68hc11_extract_return_value): Fix extractions for 1 and 3 bytes + return. + (m68hc11_push_return_address): Use CALL_DUMMY_ADDRESS for the + return address. + (m68hc11_use_struct_convention): Check for struct and union. + (m68hc11_return_value_on_stack): Use the struct convention. + (m68hc11_call_dummy_address): Use the entry point address. + (m68hc11_push_arguments): Fix alignment and padding. + (m68hc11_stack_align): New function. + (m68hc11_gdbarch_init): Register it. + +2000-09-06 Scott Bambrough + + * arm-linux-tdep.c (arm_linux_skip_solib_resolver): + Removed debug print statement. Removed arm_pc_is_thumb prototype. + * config/arm/tm-arm.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy): + Move prototypes here from tm-embed.h. + * config/arm/tm-embed.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy): + Remove prototypes. Moved to tm-arm.h. + +2000-09-06 H.J. Lu + + * TODO: Add hardware watchpoint problems on x86 OSes for 5.1. + +2000-09-06 Kevin Buettner + + * ia64-tdep.c (examine_prologue): Add rotating register rename + support for the general registers. + (ia64_get_saved_register): Add rotating register rename support + for the predicate registers and the floating-point registers. + +2000-09-05 Kevin Buettner + + * config/arm/tm-linux.h (arm_linux_sigcontext_register_address, + arm_linux_in_sigtramp): Declare. + (IN_SIGTRAMP, SIGCONTEXT_REGISTER_ADDRESS): Define. + * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Define to be 0 + if not already defined by tm.h. + (arm_scan_prologue): Don't assume that the prologue instructions + will be in a contiguous clump. + (arm_init_extra_frame_info): Add support for sigtramp frames. + (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Change type of + `memaddr' from bfd_vma to CORE_ADDR. + * arm-linux-tdep.c (gdbcore.h, frame.h): Include. + (arm_pc_is_thumb): Declare. + (arm_linux_skip_solib_resolver): Fix printf() statement. [Which + shouldn't be there anyway.] + (ARM_LINUX_SIGRETURN_INSTR, ARM_LINUX_RT_SIGRETURN_INSTR): New + defines. + (arm_linux_in_sigtramp, arm_linux_sigcontext_register_address): + New functions. + +2000-09-05 Kevin Buettner + + * i386aix-nat.c (fetch_core_registers): Protoize. + * hpux-thread.c (hpux_thread_xfer_memory): Protoize. + +2000-09-06 Stephane Carrez + + * m68hc11-tdep.c (m68hc11_frame_chain): Check for pc in call dummy. + (m68hc11_guess_from_prologue): 'des' instruction to allocate 1 byte + on the stack can appear in the prologue. + +2000-09-05 Michael Snyder + + * sol-thread.c (ps_pdmodel): Protect with an ifdef. + +Mon Sep 4 16:21:31 2000 Andrew Cagney + + * gdbarch.sh: Use printf instead of echo. + (do_read): During read, pad ``::'' with spaces and then strip out + those spaces. Avoid problems with IFS=:. + +2000-09-04 Mark Kettenis + + * config/i386/nm-linux.h: Include . + +2000-09-04 Pierre Muller + + * c-typeprint.c (c_typedef_print): remove (replaced by + typedef_print in typeprint.c). + * typeprint.c (typedef_print): new function. (old c_typedef_print + function with pascal language support added). + * value.h (c_printdef_print): removed. + (typedef_print): declare. + * symtab.c (print_symbol_info): call to c_typedef_print replaced + by call to typedef_print. + +2000-09-03 Mark Kettenis + + * config/i386/nm-linux.h (PREPARE_TO_PROCEED, ATTCH_LWP, + GET_THREAD_SIGNALS): New defines. + * config/i386/linux.mh (NATDEPFILES): Remove lin-thread.o and + linux-threads.o. Add proc-service.o, thread-db.o and lin-lwp.o. + * proc-service.c: New file. + * thread-db.c: New file. + * lin-lwp.c: New file. + + * gdb_assert.h: New file. + + * gdb_thread_db.h [HAVE_THREAD_DB_H]: Include . + [!HAVE_THREAD_DB_H]: Update from current glibc thread_db.h. Deal + with absence of here. + + * gdb_proc_service.h: Add copyright notice. + Protect against multiple inclusion. + Add fix for broken prfpregset_t here. + (struct ps_prochandle): Declare here. + [HAVE_PROC_SERVICE_H]: Include . + [!HAVE_PROC_SERVICE_H]: Include "gregset.h", define prgregset_t + and prfpregset_t in terms of gdb_gregset_t and gdb_fpregset_t if + necessary. + * lin-thread.c: Unconditionally include "gdb_proc_service.h". + Remove fix for broken prfpregset_t here. + (struct ps_prochandle): Don't declare here. + + * MAINTAINERS: Add myself as threads co-maintainer. + +2000-09-01 David Anderson + + * arch-utils.c arch-utils.h blockframe.c fork-child.c: + Corrected comment spelling dependant->dependent. + * corelow.c (default_core_sniffer): Corrected comment + spelling. + * cp-valprint.c (cp_print_value_fields): Corrected + comment spelling. + * d10v-tdep.c dbxread.c: Corrected comment spelling + dependan->dependen. + * defs.h: Corrected spelling, meant 64, not 32, in comment. + * dst.h eval.c event-loop.c: Corrected comment spelling. + * event-top.c gdb-events.sh: Corrected comment spelling. + * gdbarch.c: Corrected comment spelling. + * gdbarch.h gdbarch.sh: Corrected comment spelling, + dependant->dependent. + * gdbtypes.c gdbtypes.h: Corrected comment spelling. + * infcmd.c infrun.c: Corrected comment spelling. + * symfile.c symfile.h target.h: Corrected comment spelling, + dependant->dependent. + * tracepoint.h: Corrected comment spelling. + +2000-09-01 Kevin Buettner + + * hppa-tdep.c (record_text_segment_lowaddr): Protoize. + * hppah-nat.c (child_xfer_memory): Protoize. + +2000-09-01 Kevin Buettner + + * symtab.c (decode_line_1): Make sure leading character is + actually a colon before skipping over leading colons in global + namespace specification. + +2000-09-01 Michael Snyder + + * regcache.c (reg_flush_command): New function. Maintainer-mode + command, flushes GDB's register cache, for testing purposes. + +2000-08-31 J.T. Conklin + + * dcache.c (dcache_info): Output a cache line's state vector so it + lines up under the data vector. + + * dcache.c (dcache_read_line): New function. + (dcache_peek_byte): Use it. + (dcache_alloc): Return NULL if write of reclaimed cache line fails. + (dcache_peek_byte, dcache_poke_byte): Return failure if + dcache_alloc() returns a NULL data block pointer. + (dcache_xfer_memory): Don't force writeback unless we were writing. + + * monitor.c (monitor_expect): Change places where immediate_quit + is set to 1 or 0 to increments and decrements respectively. This + allows such changes to nest properly. + * ocd.c (ocd_start_remote): Likewise. + * remote-adapt.c (expect): Likewise. + * remote-array.c (expect): Likewise. + * remote-eb.c (expect): Likewise. + * remote-e7000.c (e7000_start_remote): Likewise. + * remote-mips.c (mips_expect_timeout, mips_getstring): Likewise. + * remote-nrom.c (expect): Likewise. + * remote-os9k.c (expect): Likewise. + * remote-sds.c (sds_start_remote): Likewise. + * remote-st.c (expect): Likewise. + * remote-utils.c (sr_expect): Likewise. + * remote.c (remote_start_remote): Likewise. + * tracepoint.c (read_actions): Likewise. + + * remote-mips.c (mips_getstring): Balance changes to immediate_quit. + +2000-08-31 David Anderson + + * MAINTAINERS: Add myself to write-after-approval list. + +2000-08-30 Kevin Buettner + + * gnu-nat.c (gnu_xfer_memory): Protoize. + * hp-psymtab-read.c (scan_procs, hp_quick_traverse): Protoize. + +2000-08-30 Kevin Buettner + + * solib.c (solib_extract_address, LM_ADDR, LM_NEXT, LM_NAME, + LM_ADDR, IGNORE_FIRST_LINK_MAP_ENTRY, first_link_map_member, + open_symbol_file_object, current_sos): Rename + bfd_elf_get_arch_size to bfd_get_arch_size(). + * sol-thread.c (rw_common, ps_pdmodel): Likewise. + +2000-08-30 David Edelsohn + + Patch applied by Kevin Buettner : + + * rs6000-nat.c (xcoff_relocate_symtab): Pass correct size + to xrealloc(). + +2000-08-29 Michael Snyder + + * valops.c (value_cast): Indentation fix-up. + * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T, + HAVE_STRUCT_LINK_MAP32): New configure macros. + * config.in: Ditto. + * configure.in: Test for the above new macros. + * breakpoint.c: Update copyright date. + * core-sol2.c: Include v9/sys/privregs.h directly to + work around a bug in Sun's Solaris 8 header files. + (fetch_core_registers): Use the above new configure macros to + handle cross-debugging of 32-bit core files on a 64-bit host. + * sol-thread.c (ps_pdmodel) New function. + (rw_common): For debugging of 32-bit apps on a 64-bit host, + truncate addresses to 32 bits. + * solib.c (solib_extract_address): Functionize. Make 32/64 aware. + (LM_ADDR, LM_NEXT, LM_NAME): Ditto. + (IGNORE_FIRST_LINK_MAP): Ditto. + (first_link_map_member): Make 32/64 aware. + (open_symbol_file_object): Ditto. + (current_sos): Ditto. + +2000-08-29 Michael Snyder + + * i386-linux-nat.c (i386_linux_skip_solib_resolver, + skip_hurd_resolver, find_minsym_and_objfile): Move these + solib functions into i386-linux-tdep.c for cross debugging. + * i386-linux-tdep.c: Receive the above functions. + +2000-08-29 Stephane Carrez + + * m68hc11-tdep.c (stack_correction): New variable for stack offset + correction (1 for 68hc11, 0 for 68hc12). + (m68hc11_saved_pc_after_call): Use it. + (m68hc11_frame_chain): Likewise. + (m68hc11_frame_init_saved_regs): Likewise. + (m68hc11_init_extra_frame_info): Likewise. + (m68hc11_push_return_address): Likewise. + (m68hc11_push_arguments): Struct address must be corrected by + applying the stack_correction offset. + (m68hc11_store_struct_return): Likewise. + +2000-08-28 Kevin Buettner + + * gdbserver/utils.c (error, fatal): Protoize. + +2000-08-27 Mark Kettenis + + * i386-linux-nat.c (fetch_inferior_registers): Move call to + dummy_sse_values ... + (supply_fpregset): ... here. + +2000-08-27 Elena Zannoni + + * pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an + lvalue. + * xcoffread.c (xcoff_symfile_offsets): Ditto + * somsolib.c (som_solib_section_offsets): Ditto. + * somread.c (som_symfile_offsets): Ditto. + * rs6000-nat.c (vmap_symtab): Ditto. + * remote-vx.c (vx_add_symbols): Ditto. + * remote-os9k.c (rombug_wait): Ditto. + +2000-08-27 Mark Kettenis + + * gregset.h: Protect against multiple inclusion. Remove some + redundant spaces. + +Sun Aug 27 00:00:04 2000 Christopher Faylor + + * win32-nat.c (dll_symbol_command): Tack a .dll on the end of a + supplied argument if it is missing an extension. + +2000-08-24 Egor Duda + + * corelow.c: Define O_BINARY if it isn't defined. + (core_open): Open core file in binary mode. + * config/i386/tm-cygwin.h (child_clear_solibs): Rename from + child_clear_solib. + * config/i386/cygwin.mh: Add dependency from corelow.o. + * win32-nat.c (register_loaded_dll): New function. Add dll to the list + of currently loaded dlls. + (handle_load_dll): Use register_loaded_dll. + (child_solib_add): Distinguish between active process and core targets. + (solib_symbols_add): Load symbols from loaded dll. + (core_dll_symbols_add): New function. Load symbols from dll referenced + in core. + (core_section_load_dll_symbols): New function. + (dll_code_sections_add): New function. + (map_single_dll_code_section): New function. + (fetch_elf_core_registers): New function. + (_initialize_core_win32): New function. + +2000-08-26 Kevin Buettner + + * gdbserver/gdbreplay.c (main): Protoize. + * gdbserver/server.c (start_inferior, main): Protoize. + +2000-08-26 Stephane Carrez + + * m68hc11-tdep.c (m68hc11_register_names): Update name of registers. + (m68hc11_get_register_info): New function. + (m68hc11_initialize_register_info): New function to get addresses + of soft registers. + (m68hc11_which_soft_register): New function. + (m68hc11_fetch_pseudo_register, m68hc11_store_pseudo_register): + New functions to translate read/write of soft registers into a + memory read/write. + (m68hc11_guess_from_prologue): Initialize soft register addresses. + Use the soft register addresses to guess the prologue. + (m68hc11_gdbarch_init): Install the pseudo registers. + + * m68hc11-tdep.c (m68hc11_register_name, m68hc11_breakpoint_from_pc, + m68hc11_saved_pc_after_call, m68hc11_frame_saved_pc, + m68hc11_frame_args_address, m68hc11_frame_locals_address, + m68hc11_guess_from_prologue, m68hc11_push_arguments, + m68hc11_call_dummy_address, m68hc11_call_dymmy_address, + m68hc11_register_virtual_type, m68hc11_store_struct_return, + m68hc11_store_return_value, m68hc11_extract_return_value, + m68hc11_use_struct_convention, m68hc11_return_value_on_stack, + m68hc11_extract_struct_value_address, m68hc11_push_return_address, + m68hc11_register_byte, m68hc11_register_raw_size, + m68hc11_gdbarch_init): New functions for multi-arch support. + (m68hc11_not_yet): Remove. + +Fri Aug 25 16:57:05 2000 David Taylor + + * regcache.c (register_changed): New function. + * value.h: Declare it. + +Fri Aug 25 12:11:21 2000 David Taylor + + * symtab.c (search_symbols): Fix off by one error in index for + initializing variables ourtype, ourtype2, ourtype3, and ourtype4. + (symtab_symbol_info): fix similar off by one error. + +Fri Aug 25 12:03:15 2000 David Taylor + + * gdbarch.sh (TARGET_ADDR_BIT): New macro for the number + of bits in gdb's representation of a target address. + * gdbarch.c, gdbarch.h: Regenerated. + * gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of + TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR. + * printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead + of TARGET_PTR_BIT, because we're printing an address, not a pointer. + +2000-08-25 Pierre Muller + + * Makefile.in: add rules to compile and link pascal specific files. + * config/djgpp/fnchange.lst: add substitution for p-exp.tab.c. + +2000-08-20 Michael Chastain + + * remote.c (read_frame): Handle SERIAL_TIMEOUT while reading + checksum. + +2000-08-23 Kevin Buettner + + * dstread.c (dst_symfile_offsets): Protoize. + * fork-child.c (fork_inferior): Protoize. + +2000-08-21 Kevin Buettner + + * dbxread (dbx_symfile_read, process_later): Protoize. + * dsrec.c (load_srec): Protoize. + +2000-08-18 Andrew Cagney + + * mips-tdep.c (mips_gdbarch_init): Check arches->gdbarch and not + current_gdbarch for a match. + +2000-08-18 J.T. Conklin + + * MAINTAINERS: Add myself as dcache.c maintainer. + + * remote-nindy.c (nindy_load): Invalidate dcache. + + * dcache.c (dcache_invd): Renamed from dcache_flush. The term + flush with respect to caches usually implies that data will be + written to memory. + (dcache_init, dcache_xfer_memory): Updated. + * monitor.c (flush_monitor_dcache, monitor_resume, monitor_load): + Updated. + * ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated. + * remote-bug.c (bug_load, bug_resume): Updated. + * remote-nindy.c (nindy_open, nindy_resume): Updated. + * remote-sds.c (sds_open, sds_resume): Updated. + * remote-utils.c (gr_open): Updated. + * remote.c (remote_open_1, remote_resume, remote_async_resume, + remote_cisco_open): Updated. + * wince.c (child_create_inferior, child_resume): Updated. + + * monitor.c (monitor_open): Free dcache before creating a new one. + * dcache.c (dcache_free): New function. + * dcache.h (dcache_free): New prototype. + +2000-08-18 Andrew Cagney + + * remote-array.c (array_fetch_register): Pass dummy parameter to + array_fetch_registers. + (array_store_register): Ditto. + +2000-08-16 Eli Zaretskii + + * value.h (struct value) : Add a comment about its use for + watchpoints. + 2000-08-12 Kevin Buettner * cxux-nat.c (fetch_inferior_registers): Protoize.