X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=f4025c4d0e90935949e59c47b4296e736509ee27;hb=ddda03b2024669695e485058aee516c4a958d735;hp=5aad81e9483d884ac1492849cd9da03b7f2a69ba;hpb=ba8966d6c3319a2d7ea06ec25ed7a15cc1be94d5;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5aad81e948..f4025c4d0e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,252 @@ +2000-03-24 Christopher Faylor + + * config/mips/tm-wince.h: Fix typo which caused include of tm-mips.h to + be inoperative. + +2000-03-24 Christopher Faylor + + * win32-nat.c: Back out special frame walking code. It was broken. + (handle_exception): Correctly identify an illegal instruction. + * config/tm-cygwin.h: Eliminate special frame handling. Just use + normal i386 handling. + +2000-03-24 J.T. Conklin + + * i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define. + * i386nbsd-nat.c (i386nbsd_use_struct_convention): New function. + (fetch_core_registers): Read fp registers. + (i386nbsd_core_fns, _initialize_i386nbsd_nat): Added. + +2000-03-24 Jonathan Larmour + + * arm-tdep.c (thumb_skip_prologue): Take function end addr argument + so that we can stop searching for the prologue past the function end + (arm_skip_prologue): Call thumb_skip_prologue with function end addr + +2000-03-24 Kevin Buettner + + * linux-thread.c, lin-thread.c (save_inferior_pid, + restore_inferior_pid): Don't do compile time comparison + of TARGET_PTR_BIT and TARGET_INT_BIT. + +Thu Mar 23 13:18:26 2000 Philippe De Muyter + + * m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L + and P_LINK_W. + (P_PEA_FP, P_MOVL_SP_FP): New macros. + (P_MOVL, P_LEAL, P_MOVML): Macros renamed from P_MOV_L, P_LEA_L and + P_MOVM_L. + (altos_skip_prologue, isi_skip_prologue): Use P_* macros, not octal + constants. + (delta68_in_sigtramp): New function. + (delta68_frame_args_address, delta68_frame_saved_pc): Ditto. + (m68k_skip_prologue): Use P_* macros, not hex constants. + (m68k_find_saved_regs): Do not expect a fixed sequence of register save + instructions, but accept them in any order; use P_* macros, not octal + or hex constants; recognize also `fmovemx to (fp + displacement)' and + `moveml to (fp + displacement)'. + * m68/tm-delta68.h (IN_SIGTRAMP): New macro. + (FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto. + +Fri Mar 24 13:44:57 2000 Andrew Cagney + + * MAINTAINERS: Add Fernando Nasser to testsuite maintainers. + +2000-03-23 Michael Snyder + + * solib.c (open_symbol_file_object): to sneak an int argument + past catch_errors, instead of casting it to a pointer, simply + pass it by address. + +2000-03-23 Jimmy Guo + + * gdbtypes.c (rank_function): Rank all N parameters and use correct + index into the prams[] and args[] arrays. + +2000-03-23 Fernando Nasser + + From David Whedon + + * top.c (execute_command): Checks all commands beore executing + to see if the user needs to be warned that the command is + deprecated, warns user if appropriate. + (add_info), (add_info_alias), (add_com) , (add_com_alias): Changed + return values from void to struct cmd_list_element *. + * command.c (lookup_cmd_1): Check aliases before following link + in case user needs to be warned about a deprecated alias. + (deprecate_cmd): new exported function for command deprecation, + sets flags and posibly a replacement string. + (deprecated_cmd_warning): New exported funciton to warn user about + a deprecated command. + (lookup_cmd_composition): New exported function that determines + alias, prefix_command, and cmd based on a string. This is useful + is we want to full name of a command. + * command.h : Added prototypes for deprecate_cmd, + deprecated_warn_user and lookup_cmd_composition, added flags to + the cmd_list_element structure, changed return values for + add_com_* and add_info_* from void to cmd_list_element. + * maint.c : (maintenance_deprecate): New function to deprecate a + command. This exists only so that the testsuite can deprecate + commands at runtime and check the warning behavior. + (maintenance_undeprecate) : New function, drops deprecated flags. + (maintenance_do_deprecate): Actually does the (un)deprecation. + (initialize_maint_cmds): Added the above new deprecate commands. + +2000-03-22 Daniel Berlin + * command.c (apropos_cmd_helper): New function, meat of the + apropos command. + (apropos_command): New apropos command to search command + names/documentation for regular expressions. + (_initialize_command): Add the apropos command. + +2000-03-23 Michael Snyder + + * sol-thread.c (ps_pglobal_lookup): Change argument type from + paddr_t to psaddr_t. This mistake appears to date from an + erroneous man page in Solaris 2.5 -- the correct type from the + system headers has always been psaddr_t. + (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): ditto. + (rw_common): ditto. + +2000-03-22 Kevin Buettner + + * ia64-linux-nat.c: Fix copyright. + (fill_gregset): Minor formatting fix. + * ia64-tdep.c (template_encoding_table, fetch_instruction, + examine_prologue): Clean up some compiler warnings. + (is_float_or_hfa_type_recurse, is_float_or_hfa_type, find_func_descr, + find_global_pointer, find_extant_func_descr): New functions. + (ia64_use_struct_convention, ia64_extract_return_value, + ia64_push_arguments): Handle HFAs. + (ia64_push_arguments): Find (or build) a function descriptor + when given a function address. + (ia64_push_return_address): Moved code for finding the + global pointer into its own function, find_global_pointer (). + +2000-03-22 Elena Zannoni + + * event-loop.c (handle_file_event): Run through indent. + +2000-03-22 Elena Zannoni + + From Philippe De Muyter + + * event-loop.c (sys/types.h): File now included unconditionally. + (use_poll): New variable.. + (gdb_notifier): poll- and select-versions merged. + (add_file_handler): If HAVE_POLL, check whether poll is usable, + and reset `use_poll' if not. + (create_file_handler): Select poll- or select-version according to + `use_poll'. + (delete_file_handler, handle_file_event): Likewise. + (gdb_wait_for_event, poll_timers): Likewise. + +2000-03-22 Peter Schauer + + * printcmd.c (print_scalar_formatted): Truncate addresses to the + size of a target pointer before passing them to print_address. + +2000-03-22 Mark Kettenis + + * config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove. + * config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): + Remove + * i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines. + (i386_extract_return_value): Rewritten. Correctly support all + floating-point types and large integer types on targets that use + the standard i386 GDB register layout and return floating-point + values in the FPU. + +Wed Mar 22 15:09:34 2000 Andrew Cagney + + * configure.in (CONFIG_INITS): Do not append remote-nrom.c + +2000-03-21 J.T. Conklin + + * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o. + * i386nbsd-nat.c: New file. + + * i386/tm-nbsd.h (NUM_REGS): Removed. + (HAVE_I387_REGS): Defined. + * i386/nm-nbsd.h (FLOAT_INFO): Removed. + + * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not + SVR4_SHARED_LIBS. + +Wed Mar 22 11:18:59 2000 Andrew Cagney + + * MAINTAINERS: Add Jim Blandy to breakpoint maintainers. David + taylor is the Solaris/SPARC maintainer. Add Jonathan Larmour to + the write after approval list. + +2000-03-21 Kevin Buettner + + * symtab.h (MAX_SECTIONS, struct section_addr_info, + symbol_file_add): Move declarations from here... + * symfile.h: ...to here. + + * solib.c (symbol_add_stub): Make symbol_file_add () aware of + all section addresses, not just .text. + * symfile.h, symfile.c (free_section_addr_info, + build_section_addr_info_from_section_table): New functions. + + * symfile.h (MAX_SECTIONS): Increase value to 40. + * symfile.c (syms_from_objfile): Add bounds check prior to + accessing ``other'' array in a section_addr_info_struct. + Remove unused variable section_offsets. + (add_symbol_file_command): Remove unused variable text_addr. + +2000-03-21 Eli Zaretskii + + * breakpoint.c (bpstat_stop_status): Don't stop if a read + watchpoint appears to break, but the watched value changed. + +2000-03-21 Jim Blandy + + * gdbarch.sh: Emit a definition and declaration for gdbarch_free, + a companion to gdbarch_alloc, which allows a gdbarch init function + to free partially-built gdbarch structures. + * gdbarch.c, gdbarch.h: Regenerated. + +2000-03-20 Kevin Buettner + + * configure.host, configure.tgt (ia64-*-linux*): New entry. + + * gdbserver/low-linux.c (u_offsets, ia64_register_u_addr, + initialize_arch): Define for IA-64. + (initialize_arch): Add declaration. + +2000-03-20 Eli Zaretskii + + * breakpoint.c (insert_breakpoints, remove_breakpoint) + (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert, + remove, or check status of hardware watchpoints for entire structs + and arrays unless the user explicitly asked to watch that struct + or array. + (insert_breakpoints): Try to insert watchpoints for all the values + on the value chain, even if some of them fail to insert. + + * values.c (value_primitive_field): Set the offset in struct value + we return when the field is a packed bitfield. + +2000-03-20 Michael Snyder + + * remote.c (remote_threads_extra_info): new function. + Implement the extra thread info query for "info threads". + (remote_threads_info): clean up a bit. + (use_threadinfo_query, use_threadextra_query): new variables. + Control whether GDB will use the new or old protocol for + thread info queries. + (remote_open_1): initialize new variables. + (remote_async_open_1): ditto. + (remote_cisco_open): ditto. + +2000-03-20 Kevin Buettner + + * ia64-linux-nat.c, ia64-tdep.c, config/ia64/linux.mh, + config/ia64/linux.mt, config/ia64/nm-linux.h, config/ia64/tm-ia64.h, + config/ia64/tm-linux.h, config/ia64/xm-linux.h: New files. + 2000-03-20 Kevin Buettner * utils.c (floatformat_from_doublest): Don't assume that a long @@ -131,7 +380,7 @@ Fri Mar 17 11:06:59 2000 Philippe De Muyter * config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define this any more, since we're not enabling OS-specific code in a OS-independent file. - + 2000-03-16 Eli Zaretskii * Makefile.in (go32-nat.o): Add prerequisites. @@ -169,7 +418,7 @@ Fri Mar 17 11:06:59 2000 Philippe De Muyter * solib.c (special_symbol_handling): Delete argument; it's not used. - + Changes from Peter Schauer : * solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses @@ -207,27 +456,27 @@ Mon Mar 13 21:21:41 2000 Andrew Cagney 2000-03-13 James Ingham - Add support for a variable object that tries to evaluate itself in + Add support for a variable object that tries to evaluate itself in the currently selected frame, rather than in a fixed frame. - + * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for gdb_parse_exp_1. - * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n + * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n of varobj_create. * varobj.c (varobj_list): Return type indicates whether the variable's type has changed (for current frame variables). (varobj_update): Handle the case where the variable's type has changed. - (delete_variable_1): Allow for deletion of variables that have not + (delete_variable_1): Allow for deletion of variables that have not been installed yet. (new_root_variable): Initialize use_selected_frame variable. - (value_of_root): This is where most of the work to handle "current + (value_of_root): This is where most of the work to handle "current frame" variables was added. Most of the complexity involves handling the case where the type of the variable has changed. (varobj_create): Add a "type" argument, to tell if the variable is one of these "current frame" variables. Also protect call to parse_exp_1 from long jumping. - + 2000-03-13 Eli Zaretskii * go32-nat.c (struct env387): Remove declaration. @@ -276,7 +525,7 @@ Mon Mar 13 18:54:42 2000 Andrew Cagney * gdbtypes.c (rank_one_type): Add comment on how to eliminate the #ifdef DEBUG_OLOAD. - + 2000-03-11 Mark Kettenis * gnu-nat.c: Fix the formatting where indent misinterpreted `&' as @@ -478,7 +727,7 @@ Sat Mar 4 10:57:25 2000 Andrew Cagney other function typedefs. Document as not be used out side of make_cleanup code. Use in make_cleanup declarations. (null_cleanup): Replace PTR with void*. - + * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup, make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup, null_cleanup): Change K&R definition to ISO-C using void* and @@ -503,7 +752,7 @@ Fri Mar 3 15:39:34 2000 Andrew Cagney (all-gdbtk, clean-gdbtk): New targets. (all): Add CONFIG_ALL as dependency. (clean): Add CONFIG_CLEAN as dependency. - + * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define. (LN_S): Define. Delete GDBtk's link code. @@ -543,7 +792,7 @@ Fri Mar 3 13:12:34 2000 Andrew Cagney Thu Mar 2 09:04:46 2000 Andrew Cagney - * MAINTAINERS: Daniel Berlin is C++ maintainer. + * MAINTAINERS: Daniel Berlin is C++ maintainer. Thu Mar 2 08:55:35 2000 Andrew Cagney @@ -553,10 +802,10 @@ Thu Mar 2 08:55:35 2000 Andrew Cagney Solaris/x86. Wed Mar 1 22:12:35 2000 Andrew Cagney - + From Wed 23 Feb 2000 Fernando Nasser : * remote-sim.c (gdbsim_close): Call generic_mourn_inferior. - * remote-rdi.c (arm_rdi_close): Ditto. + * remote-rdi.c (arm_rdi_close): Ditto. Wed Mar 1 19:31:32 2000 Andrew Cagney @@ -652,10 +901,10 @@ Tue Feb 29 15:14:56 2000 Andrew Cagney as in the Linux kernel. Modified prototype to get rid of unused parameters. (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same - naming convention as in the Linux kernel. Fixed calls to + naming convention as in the Linux kernel. Fixed calls to fetch_nwfpe_*. (store_fpregs): Fixed calls to store_nwfpe_*. Removed - unused variable. + unused variable. Mon Feb 28 18:24:32 2000 Andrew Cagney @@ -767,7 +1016,7 @@ Thu Feb 24 18:42:15 2000 Andrew Cagney * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to $(SUBDIR_*_INSTALL) when so configured. * configure: Regenerate. - + * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using configure. (install-only): Add dependency on $(CONFIG_INSTALL). Delete code @@ -781,7 +1030,7 @@ Thu Feb 24 18:19:52 2000 Andrew Cagney * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace. * configure: Regenerate. - + 2000-02-24 Christopher Faylor * configure.tgt: Add arm, mips, sh wince targets. @@ -835,7 +1084,7 @@ Mon Feb 21 13:57:27 2000 Andrew Cagney interface. * configure: Regenerate. - + * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS, SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros. (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS, @@ -956,7 +1205,7 @@ Mon Feb 21 11:03:01 2000 Andrew Cagney Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim Kingdon. * MAINTAINERS: Add Nick Clifton to write after approval list. - + Mon Feb 21 10:30:39 2000 Andrew Cagney * MAINTAINERS: Add note on multiple maintainers. @@ -1053,7 +1302,7 @@ Wed Feb 16 19:00:02 2000 Andrew Cagney code to also handle the PowerOpen ABI. (ppc_push_return_address): Enable for all ports. * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES, - PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER, + PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER, CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION, CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults provided by generic RS6000 definitions so that call dummies @@ -1076,7 +1325,7 @@ Wed Feb 16 19:00:02 2000 Andrew Cagney 2000-02-15 Jesper Skov Patch applied by Kevin Buettner - + * rs6000-tdep.c (skip_prologue): skip copying of argument registers to local variable registers. @@ -1117,7 +1366,7 @@ Mon Feb 14 15:20:26 2000 Andrew Cagney * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to configdirs. * gdbserver/low-nbsd.c: New file. - + * gdbserver/Makefile.in: convert to autoconf. * gdbserver/configure.in: likewise. * gdbserver/configure: generate. @@ -1323,7 +1572,7 @@ Tue Feb 1 00:17:12 2000 Andrew Cagney * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename ``struct gdb_file'' to ``struct ui_file''. Delete typedef GDB_FILE. - + * Makefile.in: Update. * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h, @@ -1384,7 +1633,7 @@ Mon Jan 31 17:14:52 2000 Andrew Cagney tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush, fputs_unfiltered_hook): Moved to tui/tui-file.c and tui/tui-file.h. - + * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o. (tui-file.o, gdb-file.o): Add dependencies. (corefile.o, main.o, utils.o, simmisc.o): Update dependencies. @@ -1533,11 +1782,11 @@ Mon Jan 31 17:14:52 2000 Andrew Cagney * infrun.c (normal_stop): Use enum values rather than integers for the source_flag to be passed to show_and_print_stack_frame(). Update copyright. - + * frame.h (print_what): New enum for 'source' argument to print_frame_info_base(). Use this instead of obscure numbers. Update copyright. - + Sun Jan 16 17:58:00 2000 David Taylor * event-top.c (stdin_event_handler): call quit_command rather than @@ -1651,7 +1900,7 @@ Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek (proc_flags): combine flags that UnixWare splits into two locations. (proc_modify_flag): add support for PR_KLC (kill on last close). (proc_[un]set_kill_on_last_close): new functions. - + 2000-01-07 Elena Zannoni * infrun.c (normal_stop): Print out thread id when we stop.