objc-lang.c (find_methods): Make static.
[binutils-gdb.git] / gdb / ChangeLog
index 715d1fc600d773bc3ba3a729b0734532cf8c12ba..3c83a3937c3d986d84eb9491126e9d9bc177d991 100644 (file)
@@ -1,3 +1,194 @@
+2003-02-20  Adam Fedor  <fedor@gnu.org>
+
+        * objc-lang.c (find_methods): Make static.
+
+2003-02-20  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (get_image_name): Check return value from
+       ReadProcessMemory.
+       (child_xfer_memory): Ditto.
+
+2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.in (TARGET_SYSTEM_ROOT): Set default to
+       ${exec_prefix}/${target_alias}/sys-root.  Match explicit
+       '${exec_prefix}' (in addition to the expansion thereof) as
+       relocatable.
+       * configure: Rebuilt.
+
+2003-02-20  David Carlton  <carlton@math.stanford.edu>
+
+       * symtab.c (search_symbols): Revert the search_symbols part of my
+       2002-12-23 patch.  Add comment.
+
+2002-02-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
+       * dbxread.c (elfstab_build_psymtabs): Don't call
+       install_minimal_symbols.
+       (stabsect_build_psymtabs): Likewise.
+       * elfread.c (elf_symfile_read): Call install_minimal_symbols
+       earlier.
+       * somread.c (som_symfile_read): Call install_minimal_symbols
+       and do_cleanups earlier.
+       * nlmread.c (nlm_symfile_read): Likewise.
+       * mdebugread.c (elfmdebug_build_psymtabs): Call
+       install_minimal_symbols and make appropriate cleanups.
+
+2003-02-20  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib.c (reload_shared_libraries): New function.
+       (_initialize_solib): Add callbacks for ``set solib-search-path''
+       and ``set solib-absolute-prefix''.
+
+2003-02-20  David Carlton  <carlton@math.stanford.edu>
+
+       * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
+       expand comment.
+       * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
+       SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
+       * ada-typeprint.c (ada_typedef_print): Ditto.
+       * ax-gdb.c (gen_var_ref): Ditto.
+       * breakpoint.c (print_one_breakpoint): Ditto.
+       * buildsym.c (finish_block): Ditto.
+       * c-valprint.c (c_val_print): Ditto.
+       * expprint.c (print_subexp): Ditto.
+       * findvar.c (locate_var_value): Ditto.
+       * infcmd.c (jump_command): Ditto. 
+       * linespec.c (decode_line_2, decode_compound): Ditto. 
+       * maint.c (maintenance_translate_address): Ditto. 
+       * objc-lang.c (compare_selectors, compare_classes): Ditto. 
+       * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
+       Ditto.
+       * p-valprint.c (pascal_val_print): Ditto. 
+       * stabsread.c (define_symbol): Ditto. 
+       * stack.c (print_frame, frame_info, print_block_frame_locals)
+       (print_frame_arg_vars, return_command): Ditto. 
+       * symfile.c (compare_symbols, compare_psymbols): Ditto. 
+       * symmisc.c (print_symbol): Ditto. 
+       * symtab.c (lookup_partial_symbol, lookup_block_symbol)
+       (compare_search_syms, print_symbol_info, print_msymbol_info)
+       (rbreak_command): Ditto. 
+       * tracepoint.c (tracepoints_info): Ditto. 
+       * typeprint.c (typedef_print): Ditto. 
+       * valops.c (value_of_variable, hand_function_call): Ditto. 
+       * cli/cli-cmds.c (edit_command, list_command): Ditto.
+       * ada-typeprint.c: Update Copyright.
+       * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
+       * tracepoint.c, cli/cli-cmds.c: Ditto.
+
+2003-02-20  Kevin Buettner  <kevinb@redhat.com>
+
+       * frame.c (generic_unwind_get_saved_register): Make non-static.
+       * frame.h (generic_unwind_get_saved_register): Declare.
+       * mips-tdep.c (read_next_frame_reg): Fetch register from
+       current regcache when frame is NULL.
+       (mips_init_extra_frame_info): Pass NULL explicitly for parameter
+       that must be NULL.
+       (mips_get_saved_register): Call generic_unwind_get_saved_register()
+       instead of frame_register_unwind().
+
+2003-02-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote-sim.c (gdbsim_insert_breakpoint)
+       (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
+       code.
+
+2003-02-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote.c (_initialize_remote): Add commands "set/show remote
+       hardware-watchpoint-limit" and "set/show remote
+       hardware-breakpoint-limit".
+       (remote_hw_watchpoint_limit): Initialize to -1.
+       (remote_hw_breakpoint_limit): Ditto.
+       (remote_check_watch_resources): Treat a limit of -1 as unlimited.
+
+2003-02-19  Raoul Gough  <RaoulGough@yahoo.co.uk>
+
+       * coff-pe-read.c: New file - support reading of minimal symbols from a
+       portable executable using the export table.
+       * coff-pe-read.h: New file.
+       * coffread.c: Include coff-pe-read.h.
+       (coff_symtab_read): Call read_pe_exported_syms iff no recognized
+       debugging symbols found.
+       * Makefile.in (SFILES): Add coff-pe-read.o.
+       (coff_pe_read_h): Define.
+       (COMMON_OBS): Add coff-pe-read.o.
+       (coffread.o): Add coff_pe_read_h dependency.
+       (coff-pe-read.o): New target.
+
+2003-02-19  David Carlton  <carlton@math.stanford.edu>
+
+       * Makefile.in (SFILES): Add block.c.
+       (block_h): New.
+       (COMMON_OBS): Add block.o.
+       (block.o): New.
+       (x86-64-tdep.o): Add $(block_h).
+       (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
+       (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
+       (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
+       (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
+       (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
+       (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
+       (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
+       * value.h: Add opaque declaration for struct block.
+       * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
+       * ada-lang.h: Ditto.
+       * x86-64-tdep.c: #include "block.h"
+       * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
+       * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
+       * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
+       * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
+       * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
+       * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
+       * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
+       * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
+       * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
+       (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
+       * symtab.c (block_function): Ditto.
+       (contained_in): Ditto.
+       * frame.h: Move block_for_pc and block_for_pc_sect declarations to
+       block.h.  Add opaque declaration for struct block.
+       * symtab.h: Move block_function and contained_in declarations to
+       block.h.  Add opaque declarations for struct block, struct
+       blockvector.
+       (struct block): Move to block.h.
+       (struct blockvector): Ditto.
+       (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
+       (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
+       (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
+       (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
+       (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
+       Ditto.
+       * block.c: New file.
+       * block.h: New file.
+
+2003-02-19  Theodore A. Roth  <troth@openavr.org>
+
+       * avr-tdep.c (avr_extract_return_value): Remove function.
+       (avr_store_return_value): Remove function.
+       (avr_extract_struct_value_address): Remove function.
+       (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
+
+2003-02-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * rs6000-tdep.c: Include "gdb_assert.h".
+       (registers_e500): Add "acc" and "spefscr".
+       (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
+       (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
+       ppc_gplast_regnum, sp_regnum and fp_regnum.  Check that gp0_regnum
+       really is "r0".
+       (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
+
+2003-02-18  Keith Seitz  <keiths@redhat.com>
+
+       * Makefile.in: Add gdbtk-interps.c.
+
+2003-02-18  Kevin Buettner  <kevinb@redhat.com>
+
+       * sparc-tdep.c (sparc_frame_chain): Adjust return value.
+       * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
+
 2003-02-18  Andrew Cagney  <cagney@redhat.com>
 
        * symtab.h (struct objfile): Add opaque declaration.
 
 2003-02-14  Christopher Faylor  <cgf@redhat.com>
 
-       * win32-nat.cc (register_loaded_dll): Correctly set address range for
+       * win32-nat.c (register_loaded_dll): Correctly set address range for
        just-loaded dll.
 
 2003-02-12  Jason Molenda  (jmolenda@apple.com)