* solib.c (reload_shared_libraries): New function.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c7b99e30000a75a0d4bdb0957dd6c2fe4828f350..9e9a3875a710f351bbda815885bb7b509fdf46fb 100644 (file)
@@ -1,3 +1,678 @@
+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-18  Elena Zannoni  <ezannoni@redhat.com>
+
+       From Jim Ingham   <jingham@apple.com>:
+        * dbxread.c (process_one_symbol): Use last_function_start rather
+        than function_start_offset to find the real beginning of the
+        current function.  The latter is just the text section offset on
+        some systems, the former is always the real function start.
+
+2003-02-17  Andrew Cagney  <cagney@redhat.com>
+
+       * configure.in: Revert ${target} != ${host}.
+
+2003-02-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (Makefile): Use the test ${target} != ${host},
+       instead of the absence of the "nm.h" file, to determine of the
+       configuration non-native.
+       * configure: Regenerate.
+       
+2003-02-14  Elena Zannoni  <ezannoni@redhat.com>
+
+        From Brian Ford  <ford@vss.fsi.com>
+
+       * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
+       conditionalize tui_active test.
+       (lookup_cmd_1): Ditto.
+
+2003-02-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in: Add check for _etext.
+       * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
+       available.
+       * config.in, configure: regenerated.
+
+2003-02-14  Daniel Jacobowitz  <drow@mvista.com>
+
+       * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
+
+2003-02-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * main.c (tui_version): Delete variable.
+       (captured_main): When --tui, set interpreter_p to "tui" instead of
+       enabling tui_version.
+       * printcmd.c (display_command) [TUI]: Test tui_active instead of
+       tui_version.
+       * cli/cli-decode.c (lookup_cmd_composition): Ditto.
+       * cli/cli-cmds.c (disassemble_command): Ditto.
+       * defs.h (tui_version): Delete declaration.
+       * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
+       (tui-interp.o): Add rules.
+       (SUBDIR_TUI_OBS): Add "tui-interp.o".
+
+2003-02-14  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.cc (register_loaded_dll): Correctly set address range for
+       just-loaded dll.
+
+2003-02-12  Jason Molenda  (jmolenda@apple.com)
+
+        * symmisc.c (print_objfile_statistics): Include information about
+        the number of psymtabs and symtabs in each object file.
+
+2003-02-13  Keith R Seitz  <keiths@redhat.com>
+
+       * main.h (struct captured_main_args): Add interpreter_p.
+       * main.c (captured_main): Initialize interpreter_p from context.
+       * gdb.c (main): Set interpreter_p argument.
+       * Makefile.in (gdb.o): Add dependency for interps.h.
+
+2003-02-12  Andrew Cagney  <ac131313@redhat.com>
+
+       * event-top.c (cli_command_loop): Delete declaration.
+       (_initialize_event_loop): Delete function setting event_loop_hook.
+       * event-top.h (cli_command_loop): Declare.  Update copyright.
+       (EVENT_TOP_H): Define.  Wrap header in #ifdef EVENT_TOP_H.
+       * interps.c (current_interp_command_loop): When event_loop_p, call
+       cli_command_loop.
+
+2003-02-12  Andrew Cagney  <ac131313@redhat.com>
+
+       * interps.h (interp_command_loop_ftype): Change return type to
+       void.
+
+2003-02-12  Michal Ludvig  <mludvig@suse.cz>
+
+       * x86-64-tdep.c (x86_64_extract_return_value)
+       (x86_64_store_return_value): Use regcache instead of regbuf.
+       (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
+       * x86-64-linux-nat.c (fill_gregset): Use regcache.
+
+2003-02-11  Andrew Cagney  <ac131313@redhat.com>
+
+       * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+       * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
+       TCL_LD_SEARCH_FLAGS.
+
+2003-02-10  Michal Ludvig  <mludvig@suse.cz>
+
+       * dwarf2cfi.c: Reindented.
+
+2003-02-09  Andrew Cagney  <ac131313@redhat.com>
+
+       * interps.c (clear_interpreter_hooks): Convert function definition
+       to ISO C.
+
+2003-02-07  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
+
+2003-02-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdbtypes.h (struct main_type): Move ``length'' field from here...
+       (struct type): ...to here.
+       (TYPE_LENGTH): Adjust to reflect different location of ``length''
+       field.
+       * gdbtypes.c (make_qualified_type): Set length on newly created type.
+       (replace_type): Set length on all type variants for a given type.
+
+2003-02-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
+       <sys/stat.h>.
+       * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
+       
+2003-02-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (symm-nat.o): Update dependencies.
+       (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
+       (lynx-nat.o, ia64-linux-nat.): Ditto.
+       * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
+       "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
+       * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
+
+       * Makefile.in (inflow_h): Define.
+       (procfs.o, inflow.o, procfs.o): Update dependencies.
+       * inftarg.c (child_stop): Delete extern declaration of
+       inferior_process_group.  Include "inflow.h".
+       * procfs.c (procfs_stop): Ditto.  Include "inflow.h".
+       * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
+       * inflow.h (PROCESS_GROUP_TYPE): ... to here.  New file.
+       (our_process_group, inferior_process_group): Extern declarations.
+
+       * procfs.c: Include "gdb_assert.h".
+
+       * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
+       * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
+       * jv-typeprint.c (java_type_print_base): Ditto.
+       * typeprint.c (typedef_print): Eliminate STREQ.
+       * cli/cli-script.c (define_command, define_command): Ditto.
+       * main.c (captured_main): Ditto.
+       * values.c (lookup_internalvar): Ditto.
+       * utils.c (safe_strerror, parse_escape): Eliminate assignment
+       within `if' conditional.
+       * linespec.c (decode_line_2): Ditto.
+       * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
+       (bfd_openw_with_cleanup): Ditto.
+
+2003-02-07  Mark Kettenis  <kettenis@gnu.org>
+
+       * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
+       legacy_extract_return_value and store_return_value to
+       legacy_return_value.
+
+2003-02-06  Raoul Gough  <RaoulGough@yahoo.co.uk>
+
+       * win32-nat.c (get_relocated_section_addrs): New function.  Find
+       section load addresses for symbol handling in relocated DLLs.
+       (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
+
+2003-02-05  Fred Fish  <fnf@intrinsity.com>
+
+       * remote-e7000.c (e7000_drain_command): Fix precedence problem with
+       '=' and '!='.
+       * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
+       with '&' and '=='.
+       (angel_RDI_info): Ditto.
+       * infttrace.c (threads_continue_all_but_one): Fix precedence problem
+       with '&' and '!='.
+       (threads_continue_all_with_signals): Ditto.
+  
+2003-02-05  Jim Ingham <jingham@apple.com>
+            Keith Seitz  <keiths@redhat.com>
+            Elena Zannoni  <ezannoni@redhat.com>
+            Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
+       (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
+       (SUBDIR_MI_OBS): Add "mi-interp.o".
+       (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
+       (SFILES): Add "interps.c".
+       (COMMON_OBS): Add "interps.o".
+       (interps_h, mi_main_h): Define.
+       (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
+       (mi-main.o, main.o, event-top.o): Update dependencies.
+       * cli/cli-interp.c: New file.
+       * interps.h, interps.c: New files.
+       * top.c: (gdb_init): Don't install the default interpreter, handed
+       by captured_main.
+       * main.c: Include "interps.h".
+       (interpreter_p): Note that it should malloc'ed.
+       (captured_command_loop): Call current_interp_command_loop.
+       (captured_main): Initialize interpreter_p to INTERP_CONSOLE.  Use
+       xfree and xstrdup when updating interpreter_p.  Install the
+       default interpreter.  Add hack to stop mi1's copyright notice
+       being encoded.
+       * event-top.h (gdb_setup_readline): Declare.
+       (gdb_disable_readline): Declare.
+       * event-top.c: Include "interps.h".
+       (display_gdb_prompt): Call current_interp_display_prompt_p.
+       (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
+       gdb_stdlog, and gdb_stdtarg.
+       (_initialize_event_loop): Don't call gdb_setup_readline.
+       * cli-out.c (cli_out_set_stream): New function.
+       * cli-out.h (cli_out_set_stream): Declare.
+
+2003-02-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
+       i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove.  These are all
+       handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
+       * config/i386/i386sco5.mt, config/i386/i386v4.mt,
+       config/i386/i386v42mp.mt: Removed.
+
+2003-02-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.tgt (*-*-solaris*): Set gdb_osabi to
+       GDB_OSABI_SOLARIS.
+
+2003-02-05  Michael Chastain  <mec@shout.net>
+
+       * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
+       2.12.1 and earlier versions.
+
+2003-02-05  Andrew Cagney  <ac131313@redhat.com>
+
+       Remove orphaned hosts, targets and files.
+       * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
+       * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
+       * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
+       * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
+       * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
+       * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
+       * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
+       * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
+       * config/sparc/tm-sp64sim.h: Delete.
+       * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
+       hosts.
+       * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
+       mips*-dec-mach3* targets.
+
+2003-02-04  Michael Chastain  <mec@shout.net>
+
+       * NEWS: Fix typo: sepcifying -> specifying.
+
+2003-02-04  Michael Chastain  <mec@shout.net>
+
+       * dwarfread.c: Add documentation on the state of dwarf-1,
+       looking towards obsoletion.
+
+2003-02-03  Michael Chastain  <mec@shout.net>
+
+       * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
+       gdb/testsuite/gdb.c++/pr-1023.exp.
+
+2003-02-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
+       * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
+
+       * utils.c (init_page_info): Delete reference to MPW in comments.
+       * main.c (captured_main): Delete #ifdef MPW.
+
+2003-02-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Note that the m32r-*-elf* is obsolete. 
+       * monitor.c (monitor_expect): Obsolete reference to m32r.
+       * configure.tgt: Mark m32r-*-elf* as obsolete.
+       * MAINTAINERS: Mark m32k as obsolete.
+       * m32r-rom.c: Obsolete file.
+       * config/m32r/m32r.mt: Obsolete file.
+       * config/m32r/tm-m32r.h: Obsolete file.
+       * m32r-stub.c: Obsolete file.
+       * m32r-tdep.c: Obsolete file.
+
+2003-02-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Mention that the z8k-zilog-none is obsolete.
+       * MAINTAINERS: Mark z8k as obsolete.
+       * configure.tgt: Obsolete the z8k-*-coff* target.
+       * config/z8k/z8k.mt: Obsolete file.
+       * config/z8k/tm-z8k.h: Obsolete file.
+       * z8k-tdep.c: Obsolete file.
+
+2003-02-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Mention that the mn10200-elf is obsolete.
+       * configure.tgt: Obsolete mn10200-*-* target.
+       * breakpoint.c (update_breakpoints_after_exec): Update comment to
+       mention that the mn10200 is obsolete.
+       * breakpoint.h: Ditto.
+       * MAINTAINERS: Mark the mn10200-elf as obsolete.
+       * config/mn10200/mn10200.mt: Obsolete file.
+       * config/mn10200/tm-mn10200.h: Obsolete file.
+       * mn10200-tdep.c: Obsolete file.
+
+2003-02-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS: Mark h8500 as obsolete.
+       * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
+       * findvar.c (value_from_register): Ditto.
+       * h8500-tdep.c: Mark file as obsolete.
+       * config/h8500/h8500.mt: Ditto.
+       * config/h8500/tm-h8500.h: Ditto.
+       * NEWS: Mention that h8500 is obsolete.
+
+2003-02-04  David Carlton  <carlton@math.stanford.edu>
+
+       * objfiles.c (allocate_objfile): Always set name.  Add comment at
+       start of function.
+       * jv-lang.c (get_dynamics_objfile): Add comment.
+
+2003-02-04  David Carlton  <carlton@math.stanford.edu>
+
+       * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
+       * printcmd.c (build_address_symbolic): Replace uses of
+       SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
+       SYMBOL_NAME, and asm_demangle.
+       Update copyright.
+
+2003-02-04  David Carlton  <carlton@math.stanford.edu>
+
+       * linespec.c (decode_compound): Extract code into
+       lookup_prefix_sym.
+       (lookup_prefix_sym): New function.
+
+2003-02-04  David Carlton  <carlton@math.stanford.edu>
+
+       * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
+       FLOAT_COERCION_BADNESS.
+       * gdbtypes.c (rank_one_type): Replace all uses of
+       INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
+
+2003-02-04  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
+       section, let dwarf_macinfo_section point to it, not
+       dwarf_loc_section.
+
+2003-02-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       Pointed out by Anton Blanchard <anton@samba.org>.
+       * ppc-linux-tdep.c (insn_is_sigreturn): New function.
+       (ppc_linux_at_sigtramp_return_path): Use it.
+
+2003-02-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * defs.h (streq): Add prototype.
+       * utils.c (streq): New function.
+
+       * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
+       SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
+       * mdebugread.c (new_symbol): Likewise.
+       * stabsread.c (define_symbol): Likewise.
+       * coffread.c (process_coff_symbol): Likewise.
+       * dwarfread.c (new_symbol): Likewise.
+
+       * minsyms.c (prim_record_minimal_symbol_and_info): Use
+       SYMBOL_SET_NAMES instead of setting SYMBOL_NAME.  Set the language
+       here.
+       (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
+       SYMBOL_INIT_DEMANGLED_NAME.
+       * objfiles.c: Include "hashtab.h".
+       (allocate_objfile): Call htab_set_functions_ex for the
+       demangled_names_hash.
+       (free_objfile): Call htab_delete for the demangled_names_hash.
+       * objfiles.h (struct htab): Add declaration.
+       (struct objfile): Add demangled_names_hash.
+       * symfile.c: Include "hashtab.h".
+       (reread_symbols): Call htab_delete for the demangled_names_hash.
+       (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
+       SYMBOL_NAME in the bcache.
+       * symtab.c: Include "hashtab.h".  Update comments.
+       (create_demangled_names_hash, symbol_set_names): New functions.
+       (symbol_find_demangled_name): New function, broken out from
+       symbol_init_demangled_names.
+       (symbol_init_demangled_names): Use it.
+       * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
+       (SYMBOL_SET_NAMES): New macro.
+       (symbol_set_names): Add prototype.
+
+2003-02-03  Jim Blandy  <jimb@redhat.com>
+
+       Use a single, consistent representation for an empty minimal
+       symbol table in an objfile.
+       * objfiles.c (terminate_minimal_symbol_table): New function.
+       (allocate_objfile): Call it.
+       * objfiles.h (terminate_minimal_symbol_table): New declaration.
+       (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
+       non-NULL. 
+       * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
+       objfile has minimal symbols, compare minimal_symbol_count to zero,
+       instead of comparing msymbols with NULL.
+       * objfiles.c (have_minimal_symbols): Same.
+       * solib-sunos.c (solib_add_common_symbols): Call
+       terminate_minimal_symbol_table.
+       * symfile.c (reread_symbols): Same.
+       
+2003-02-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * s390-tdep.c (s390_address_class_type_flags)
+       (s390_address_class_type_flags_to_name)
+       (s390_address_class_name_to_type_flags): New functions.
+       (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
+       ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
+
+2003-02-03  Michael Snyder  <msnyder@redhat.com>
+
+       * arm-tdep.c: Fix spell-o in comment.
+
+2003-02-03  Michal Ludvig  <mludvig@suse.cz>
+
+       * dwarf2cfi.c (pointer_encoding): Added new parameter.
+       * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
+       error messages to contain BFD filename. 
+
+2003-02-02  Elena Zannoni  <ezannoni@redhat.com>
+
+       Fix PR gdb/742 gdb/743 gdb/877
+       * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
+       (do_mixed_source_and_assembly): Use
+       make_cleanup_ui_out_tuple_begin_end and
+       make_cleanup_ui_out_tuple_begin_end.
+       (do_mixed_source_and_assembly): Ditto.
+       * thread.c (do_captured_list_thread_ids): Ditto.
+       * ui-out.h (ui_out_table_begin, ui_out_list_begin,
+       ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
+       ui_out_tuple_end): Delete prototypes.
+       * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
+       ui_out_list_end, ui_out_tuple_end): Delete.
+
+       From Kevin Buettner  <kevinb@redhat.com>:
+       * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
+        * ui-out.c (make_cleanup_ui_out_table_begin_end)
+        (do_cleanup_table_end):  New functions.
+        * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
+        Use cleanups to invoke_ui_out_tuple_end().
+        (breakpoint_1): Use cleanup to invoke ui_out_table_end().
+       * cli/cli-setshow.c (cmd_show_list): Use
+       make_cleanup_ui_out_tuple_begin_end.
+       
+2003-02-02  Andrew Cagney  <ac131313@redhat.com>
+
+       * frame.c (frame_unwind_register): New function.
+       (frame_unwind_unsigned_register): Use.
+       (frame_unwind_signed_register): Use.
+       (frame_read_register): New function.
+       * frame.h (frame_unwind_register): Declare.
+       (frame_read_register): Declare.
+
+       * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
+       and frame_unwind_register instead of read_memory, write_register
+       and deprecated_write_register_bytes.
+
+2003-02-02  Andrew Cagney  <ac131313@redhat.com>
+
+       * frame.h: Note that namelen can be negative.
+       * frame.c (frame_map_name_to_regnum): When LEN is negative, use
+       NAME's length.
+
+       * NEWS: Mention that the d10v's `regs' command is deprecated.
+       * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
+       (d10v_print_registers_info): New function.
+       (show_regs): Call d10v_print_registers_info.
+       (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
+
+2003-02-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * stack.c (print_frame_info): Restore call to annotate_frame_begin
+       lost in the previous patch.
+
+2003-02-01  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
+        * stack.c (print_frame_info_base): Output complete FRAME tuple
+        for synthesized frames.
+
+2003-02-02  Andrew Cagney  <ac131313@redhat.com>
+
+       * mips-nat.c (zerobuf): Delete.
+       (fetch_inferior_registers): Alloc local zerobuf.
+       (fetch_core_registers): Alloc local zerobuf.
+       * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
+       MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
+       * thread-db.c (thread_db_store_registers): Ditto.
+       * sh-tdep.c (sh_do_register): Ditto.
+       * rom68k-rom.c (rom68k_supply_one_register): Ditto.
+       * remote-sim.c (gdbsim_store_register): Ditto.
+       * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
+       * remote-e7000.c (fetch_regs_from_dump): Ditto.
+       * monitor.c (monitor_supply_register): Ditto.
+       * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
+       * mips-nat.c (fetch_inferior_registers): Ditto.
+       * m68klinux-nat.c (fetch_register): Ditto.
+       * lynx-nat.c (fetch_inferior_registers): Ditto.
+       (fetch_inferior_registers): Ditto.
+       * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
+       * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
+       (hpux_thread_store_registers): Ditto.
+       * hppah-nat.c (fetch_register): Ditto.
+       * hppab-nat.c (fetch_register): Ditto.
+       * hppa-tdep.c (pa_register_look_aside): Ditto.
+       (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
+       * dve3900-rom.c (fetch_bitmapped_register): Ditto.
+
 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
 
        * gdbarch.sh: Explictly specify all method levels.  When a
        * config.in: Regenerated.
        * configure: Regenerated.
 
+2003-01-24  Nick Clifton  <nickc@redhat.com>
+
+       * Add sh2e support:
+
+       2002-04-02  Elena Zannoni  <ezannoni@redhat.com>
+
+               * gdb/sh-tdep.c (sh_sh2e_register_name): New.
+               (sh2e_show_regs): New.
+               (sh_gdbarch_init): Handle bfd_mach_sh2e.
+               * config/sh/tm-sh.h: Added sh2e to comments.
+
 2003-01-23  Jim Blandy  <jimb@redhat.com>
 
        * symfile.c (syms_from_objfile): Don't print the "(no debugging
 
 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
 
+       Fix PR gdb/898
        * breakpoint.c (until_break_command): Add new argument.  Use it to
        decide whether to stop only at the current frame or not.
        * breakpoint.h (until_break_command): Update prototype.
This page took 0.049325 seconds and 4 git commands to generate.