2002-03-27 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7a76faf8d95a720939b56fd6c7a2e5cc07550590..9d6eea654099eaca8125bf460091141f88231cf0 100644 (file)
@@ -1,8 +1,244 @@
+2002-03-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * signals.c: Moved to...
+       * signals/signals.c: Here.
+       * Makefile (signals.o): Update.   
+
+2002-03-26  Jeff Law (law@redhat.com)
+
+       * somread.c (som_symtab_read): Remove some commented out code and
+       updated related comments.  Do not set the minimal symbol table to
+       mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
+       in a dynamic executable.
+       * hppa-tdep.c (find_proc_framesize): Sanely handle the case
+       where we are unable to find the minimal symbol for the given
+       PC value.
+
+2002-03-25  Jeff Law (law@redhat.com)
+
+       * linux-proc.c (read_mapping): Scan up to end of line for filename.
+
+2002-03-25  Michal Ludvig  <mludvig@suse.cz>
+
+       * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
+
+2002-03-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * command.h: Update copyright.
+       (struct cmd_list_element): Replace definition with opaque
+       declaration.
+       (enum cmd_types): Document that it will eventually be moved to
+       cli/cli-decode.h
+       (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
+       (MALLOCED_REPLACEMENT): Delete macro.
+       * Makefile.in (cli_decode_h): Add $(command_h).
+       (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
+       * top.c: Include "cli/cli-decode.h".  
+       * completer.c: Include "cli/cli-decode.h".
+       * maint.c: Include "cli/cli-decode.h".
+       * cli/cli-decode.h: Include "command.h".
+       (enum command_class): Delete.
+       (enum cmd_types): Comment out.
+       (enum cmd_auto_boolean): Delete.
+       (enum var_types): Delete.
+
+2002-03-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * cli/cli-decode.c: Include "gdb_assert.h".
+       (add_set_or_show_cmd): New static function.
+       (add_set_cmd): Rewrite.  Use add_set_or_show_cmd.
+       (add_show_from_set): Rewrite. Use add_set_or_show_cmd.  Don't copy
+       all fields, such as func, from the set command.
+
+2002-03-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS (sh-elf): Change warning flag to -w.
+
+2002-03-23  Andrew Cagney  <cagney@redhat.com>
+
+       * defs.h (error): Add printf format attribute.
+       * thread-db.c (thread_from_lwp): Fix error format string.
+       * stack.c (parse_frame_specification): Ditto.
+       * cli/cli-decode.c (undef_cmd_error): Ditto.
+       * scm-lang.c (scm_lookup_name): Ditto.
+       * tracepoint.c (trace_error): Ditto.
+       * remote-utils.c (usage): Ditto.
+       * remote.c (compare_sections_command): Ditto.
+       Fix PR gdb/328.
+
+2002-03-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdbtypes.c (append_composite_type_field): New function.
+       (init_composite_type): New function.
+       * gdbtypes.h (append_composite_type_field): Declare.
+       (init_composite_type): Ditto.
+
+2002-03-22  Elena Zannoni  <ezannoni@redhat.com>
+
+        * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
+        function.  
+       * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
+        * rs6000-tdep.c (rs6000_gdbarch_init): Use different
+        structure returning convention for SYSV ABI case, but not
+        for GNU/Linux, FreeBSD, or NetBSD.
+
+2002-03-22  Daniel Jacobowitz  <drow@mvista.com>
+
+       * symtab.h (lookup_block_symbol): Add mangled_name argument
+       to prototype.
+
+       * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
+       with new mangled_name argument.
+       * linespec.c (decode_line_1): Likewise.
+       * valops (value_of_this): Likewise.
+       * symtab.c (lookup_transparent_type): Likewise.
+       (lookup_symbol_aux): Likewise.  Accept new mangled_name argument.
+       (lookup_symbol): If we are given a mangled name, pass it down
+       to lookup_symbol_aux.
+       (lookup_block_symbol): If we are given a mangled name to check
+       against, only return symbols which match it.
+
+2002-03-22  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (child_create_inferior): Check for proper shell to use
+       here, in case the user changes it on the fly.
+       (_initialize_inftarg): Remove shell path considerations.
+
+2002-03-21  Elena Zannoni  <ezannoni@redhat.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
+       for gdbarch_max_register_raw_size and max_register_virtual_size.
+       Adjust copyright year.
+
+2002-03-21  Daniel Jacobowitz  <drow@mvista.com>
+
+        * dbxread.c (process_one_symbol): Extend the first N_SLINE
+        in a function to cover the entire beginning of the function
+        as well if it does not already.
+
+2002-03-21  Tom Rix  <trix@redhat.com>
+
+       * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
+       (rs6000_ptrace64): Renamed from ptrace64.
+
+2002-03-20  Martin M. Hunt  <hunt@redhat.com>
+
+       * gdbserver/remote-utils.c (remote_open): Don't call
+       getprotobyname, we're all using TCP here so just use
+       IPPROTO_TCP.
+       * gdbserver/gdbreplay.c (remote_open): Ditto.   
+
+2002-03-20  Martin M. Hunt  <hunt@redhat.com>
+       
+       * regcache.c (_initialize_regcache): No need to call
+       build_regcache() at this time; it gets called whenever
+       the gdbarch changes.
+
+2002-03-20  David O'Brien  <obrien@FreeBSD.org>
+
+       * sparc-nat.c:  Include sys/param.h where possible.
+
+2002-03-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       Fix PR gdb/422.
+       * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
+       FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
+       * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
+       complex types.
+       * stabsread.c (rs6000_builtin_type): Likewise.
+       (read_sun_floating_type): Likewise.
+
+2002-03-19  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * stabsread.c (read_member_functions): Remove skip code for duplicate
+       constructor/destructor methods.  Use standard parsing for these
+       methods and just do not chain them to the list of methods after
+       parsing.
+
+2002-03-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       * coffread.c: Remove redundant static declarations.  Replace
+       occurrences of `PTR' with `void *'.
+       * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
+       * top.h (quit_cover): Likewise.
+       * defs.h (catch_errors): Likewise.
+
+2002-03-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * defs.h (XMALLOC): Define.
+       * gdb-events.sh (XMALLOC): Delete macro.
+       * gdb-events.c, gdb-events.h: Regenerate.
+       * gdbarch.sh (XMALLOC): Delete macro.
+       * gdbarch.c: Regenerate.
+       * serial.c (XMALLOC): Delete macro.
+       * ui-file.c (XMALLOC): Ditto.
+       * ser-unix.h (XMALLOC): Ditto.
+       * sh-tdep.c (XMALLOC): Ditto.
+       * ui-out.c (XMALLOC): Ditto.
+       * utils.c (XMALLOC): Ditto.
+       * i386-tdep.c (XMALLOC): Ditto.
+       * gdb-events.c (XMALLOC): Ditto.
+       * d10v-tdep.c (XMALLOC): Ditto.
+       * cli-out.c (XMALLOC): Ditto.
+
+       * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
+       * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
+       * ui-file.c, ui-out.c: Ditto.
+
+2002-03-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * command.h (struct cmd_list_element): Add field context.
+       (set_cmd_context, get_cmd_context): Declare.
+       * cli/cli-decode.h: Ditto.
+       * cli/cli-decode.c (get_cmd_context): New function.
+       (set_cmd_context): New function.
+       (add_cmd): Initialize context.
+       Part of fixing PR gdb/145 and PR gdb/146.
+
+2002-03-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * cli/cli-decode.c (cmd_type): New function.
+       * command.h (cmd_type): Declare.
+       * infrun.c (set_schedlock_func): Call function cmd_type.
+       * kod.c (kod_set_os): Call cmd_type.
+       * cris-tdep.c (cris_version_update): Use function cmd_type.
+       (cris_mode_update, cris_abi_update): Ditto.
+
+       * command.h: (execute_cmd_post_hook): Declare.
+       (execute_cmd_pre_hook): Declare.
+       * cli/cli-script.c (clear_hook_in_cleanup): New function.
+       (execute_cmd_post_hook, execute_cmd_pre_hook): New
+       functions. Execute pre/post hook while ensuring that afterwords
+       hook_in is cleared.
+       * top.c (execute_command): Use execute_cmd_post_hook, and
+       execute_cmd_pre_hook to execute pre/post commands.
+       * infrun.c (normal_stop): Pass stop_command and not pre_hook to
+       hook_stop_stub.
+       (hook_stop_stub): Call execute_cmd_pre_hook.
+
+2002-03-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * kod.c (kod_set_os): Revert previous change.  Is called by ``info
+       set'' and this leads to a core dump.  Move xstrdup of
+       operating_system to after check that it is not NULL.
+
+2002-03-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * kod.c (kod_set_os): Remove unnecessary check that
+       ``command->type'' is set_cmd.
+
+       * valprint.c (set_input_radix): Use input_radix.
+       (set_output_radix): Use output_radix.
+       (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
+       isn't reverted.
+
 2002-03-16  Andrew Cagney  <ac131313@redhat.com>
 
        * value.h (struct value): Delete field ``substring_addr''.  Change
        aligner fields to force_doublest_align, force_longest_align,
-       force_core_addr_align and force_pointer_align.
+       force_core_addr_align and force_pointer_aligh.
+
+       * value.h (struct value): Fix typo in above change.
 
 2002-03-16  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
 
 
        * MAINTAINERS: Add myself to write-after-approval.
 
+2002-03-14  Michael Snyder  <msnyder@redhat.com>
+
+       * symfile.c (syms_from_objfile): Return immediately if no syms.
+       (symbol_file_add): Return immediately if no syms.
+       (find_sym_fns): Return immediately if no syms.
+
 2002-03-13  Michal Ludvig  <mludvig@suse.cz>
 
        * gdbserver/remote-util.c (remote_open): Print remote-side's
This page took 0.026039 seconds and 4 git commands to generate.