aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2005-06-13gdb/Daniel Jacobowitz1-1/+1
* Makefile.in (symfile.o): Add $(exec_h). * exec.h (exec_set_section_address): Add prototype. * exec.c (exec_set_section_address): New function. * symfile.c: Include "exec.h". (struct place_section_arg, place_section): New. (default_symfile_offsets): Call place_section for each section of a relocatable file. gdb/testsuite/ * gdb.base/relocate.c: Add a copyright notice. (dummy): Remove. * gdb.base/relocate.exp: Test printing the values of variables from a relocatable file.
2005-06-02 * exceptions.h: Include ui-out.h.Joel Brobecker1-1/+1
(ui_out): Remove declaration. * Makefile.in (exceptions_h): Add dependency on ui-out.h.
2005-05-29This is a cleanup change. It is the beggining of allowing GDB/MI to beBob Rossi1-4/+8
better understood (internally).
2005-05-22* armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".Mark Kettenis1-2/+2
Reorder includes. Don't require FETCH_INFERIOR_REGISTERS to be defined. (armnbsd_fetch_registers): Rename from armnbsd_fetch_registers. Make static. (armnbsd_store_registers): Rename from armnbsd_store_registers. Make static. (_initialize_arm_netbsd_nat): Construct and add target vector. * Makefile.in (armnbsd-nat.o): Update dependencies. * config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and intarg.o, add inf-ptrace.o. (NAT_FILE): Set to solib.h. * config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and inftarg.o, add inf-ptrace.o. (NAT_FILE): Remove.
2005-05-18 * MAINTAINERS: Undelete v850.Corinna Vinschen1-0/+5
* Makefile.in: Re-add v850-tdep.o dependencies. * configure.tgt: Re-add v850. * v850-tdep.c: Reorder code slightly. Add register number enumerator. (struct v850_frame_cache): New structure. (v850_processor_type_table): Remove. Move functionality into v850_register_name, v850e_register_name and v850_gdbarch_init. (v850_register_name): New function. (v850e_register_name): New function. (struct prologue_info): Remove definition. (v850_register_type): New function. (v850_type_is_scalar): New function. (v850_use_struct_convention): Align to gcc behaviour. (v850_handle_prepare): Renamed from handle_prepare. Change third parameter to struct v850_frame_cache *. (v850_handle_pushm): Renamed from handle_pushm. Change third parameter to struct v850_frame_cache *. (v850_is_save_register): New function to evaluate if a register is caller-save. (v850_analyze_prologue): Replace v850_scan_prologue. Change to support new frame code. (v850_init_extra_frame_info): Remove. (v850_frame_chain): Remove. (v850_find_callers_reg): Remove. (v850_skip_prologue): Make static. (v850_pop_frame): Remove. (v850_frame_align): New function. (v850_push_dummy_call): Replace v850_push_arguments. (v850_push_return_address): Remove. (v850_extract_return_value): New function. (v850_store_return_value): New function. (v850_return_value): New function. (v850_frame_saved_pc): Remove. (v850_breakpoint_from_pc): New function. (v850_alloc_frame_cache): New function. (v850_fix_call_dummy): Remove. (v850_frame_cache): New function. (v850_target_architecture_hook): Remove. (v850_frame_prev_register): New function. (v850_frame_this_id): New function. (v850_frame_unwind): New structure. (v850_frame_sniffer): New function. (v850_unwind_sp): New function. (v850_unwind_pc): New function. (v850_unwind_dummy_id): New function. (v850_frame_base_address): New function. (v850_frame_base): New structure. (v850_gdbarch_init): New function. * config/v850/v850.mt: Undelete. Drop TM_FILE.
2005-05-15./Daniel Jacobowitz1-1/+1
* ylwrap: Import from Automake 1.9.5. binutils/ * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. * doc/Makefile.am (binutils_TEXINFOS): Define. (config.texi): Depend on distributed files instead of built files. (binutils.dvi, binutils.info): Remove unnecessary rules. (DISTCLEANFILES): Remove. (install-data-local): Renamed from install. (info-local): Renamed from info. * Makefile.in, aclocal.m4, config.in, configure, doc/Makefile.in: Regenerated. gas/ * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap invocation. * Makefile.in: Regenerated. ld/ * Makefile.am (AM_MAKEINFOFLAGS): Define. (TEXI2DVI): Define. (ldver.texi): Depend on distributed files instead of built files. (ld.info): Include $(srcdir) in the rule target. Remove actions. (ld.dvi): Remove actions. (MAINTAINERCLEANFILES): Add configdoc.texi. (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. (install-data-local): Renamed from install. (Makefile): Remove explicit dependency. * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. * Makefile.in, aclocal.m4, config.in, configure: Regenerated. gdb/ * Makefile.in (.y.c): Update ylwrap invocation.
2005-05-12* sol-thread.c: Include "solib.h".Mark Kettenis1-1/+1
(sol_thread_attach): Use solib_add instead of SOLIB_ADD. * Makefile.in (sol-thread.o): Update dependencies.
2005-05-12 * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.Eli Zaretskii1-1/+1
* go32-nat.c: Include top.h. Update copyright years. (init_go32_ops): Override the default value of gdbinit[] with "gdb.ini". * cli/cli-cmds.c (init_cli_cmds): Use gdbinit[] instead of a compile-time literal string GDBINIT_FILENAME. * top.c (PATH_MAX): Define if not defined. (gdbinit): Declare with a constant size PATH_MAX. * config/i386/go32.mh (XM_FILE): Remove. * config/i386/xm-go32.h: Remove file.
2005-05-12* solib.h (CLEAR_SOLIB, SOLIB_ADD)Mark Kettenis1-11/+13
(SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK) (SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART) (DISABLE_UNSETTABLE_BREAK, PC_SOLIB) (IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned comments. * breakpoint.c: Include "solib.h". (insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call solib_address. (remove_solib_event_breakpoints, create_solib_event_breakpoint) (disable_breakpoints_in_shlibs) (disable_breakpoints_in_unloaded_shlib) (re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't defined. If PC_SOLIB isn't defined, call solib_address. (_initialize_breakpoint): Unconditionally install observer. * corelow.c: Include "solib.h". [SOLIB_ADD] (solib_add_stub): Remove prototype. (core_close) [!CLEAR_SOLIB]: Call clear_solib. (solib_add_stub) [!SOLIB_ADD] Call solib_add. (core_open): Unconditionally call solib_add_stub. * fork-child.c: Include "solib.h". (fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call solib_create_inferior_hook. * infcmd.c: Include "solib.h". (attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally call re_enable_breakpoints_in_shlibs. * infrun.c: Include "solib.h". (SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already defined. (stop_on_solib_events, show_stop_on_solib_events): Include unconditionally. (follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call solib_create_inferior_hook. (handle_inferior_event) [!SOLIB_ADD]: Call shlib_add. [!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code. (_initialize_infrun): Unconditionally add "stop_on_solib-events" command. * remote.c: Include "solib.h". (remote_open_1): Unconditionally call no_shared_libraries. [!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook. * stack.c: Include "solib.h". (print_frame) [!PC_SOLIB] Call shlib_for_pc. * xcoffsolib.c (no_shared_libraries): Remove function. * Makefile.in (SFILES): Add solib.c. (ALLDEPFILES): Remove solib.c. (COMMON_OBS): Add solib.o. (breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o) (remote.o, stack.o): Update dependencies.
2005-05-12 * cp-names.y: Renamed to ...Daniel Jacobowitz1-10/+12
* cp-name-parser.y: ... this. * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to cp-name-parser.y. (test-cp-names.o): Renamed to test-cp-name-parser.o. (test-cp-names): Renamed to test-cp-name-parser. (clean, local-maintainer-clean): Update. (cp-names.o): Renamed to cp-name-parser.o.
2005-05-02* bsd-uthread.c: Include "solib.h".Mark Kettenis1-3/+3
* Makefile.in (bsd-uthread.o): Update dependencies.
2005-05-01* somsolib.c, somsolib.h: Remove files.Mark Kettenis1-5/+0
* Makefile.in (somsolib_h): Remove. (somsolib.o): Remove dependency.
2005-04-29 * MAINTAINERS: Revert h8300 state to un-deleted.Corinna Vinschen1-0/+3
* Makefile.in: Re-add h8300-tdep.o dependencies. * h8300-tdep.c: Slightly rearrange type definitions and functions. (struct frame_extra_info): Remove. (struct h8300_frame_cache): Replace locals with differently defined uses_fp member. (h8300_unwind_pc): Simplify. (h8300_unwind_sp): New function. (h8300_unwind_dummy_id): Simplify. (h8300_init_frame_cache): New function. (h8300_is_argument_spill): Use reworked defines for opcode scanning. (h8300_skip_prologue): Rewrite. (h8300_alloc_frame_cache): Remove. (h8300_analyze_frame_setup): Remove. (h8300_analyze_register_saves): Remove. (h8300_analyze_prologue): Rewrite. (h8300_frame_cache): Use h8300_init_frame_cache instead of h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to accomodate 16 bit mode. Fix saved_sp and register offset evaluation. (h8300_frame_this_id): Correctly calculate this_id using saved stack pointer instead of base. (h8300_frame_prev_register): Drop needless braces. (h8300_frame_base_address): New function. (h8300_frame_base): New frame_base. (h8300_push_dummy_call): Return correct CFA value. (h8300h_extract_return_value): Fix 8 byte value handling. (h8300_use_struct_convention): New function. (h8300h_use_struct_convention): New function. (h8300h_store_return_value): Fix 8 byte value handling. (h8300_return_value): New function. (h8300h_return_value): New function. (h8300_extract_struct_value_address): Remove deprecated functionality. (h8300_push_dummy_code): Remove. (h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and set_gdbarch_store_return_value calls by set_gdbarch_return_value. Remove calls to set_gdbarch_deprecated_fp_regnum, set_gdbarch_deprecated_extract_struct_value_address, set_gdbarch_deprecated_use_struct_convention and set_gdbarch_push_dummy_code. Add calls to set_gdbarch_unwind_sp and frame_base_set_default. Slightly rearrange code.
2005-04-27* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.Mark Kettenis1-0/+1
(sh_gdbarch_init): Remove redundant prototype. * sh-linux-tdep.c: New file. * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets): Remove prototype. (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove solib-legacy.o. * Makefile.in (sh-linux-tdep.o): New.
2005-04-27* solib-svr4.c: Update copyright year. Include "gdb_assert.h".Mark Kettenis1-2/+2
(SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already defined. (legacy_fetch_link_map_offsets): Remove prototype. (fetch_link_map_offsets_gdbarch_data): Remove. (LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY) (first_link_map_member, open_symbol_file_object, svr4_current_sos) (svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets instead of SVR4_FETCH_LINK_MAP_OFFSETS. (solib_svr4_data): New variable. (struct solib_svr4_ops): New. (solib_svr4_init): New fynction. (legacy_fetch_link_map_offsets, init_fetch_link_map_offsets): Remove functions. (svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite using the new `struct solib_svr4_ops'. (_initialize_svr4_solib): Replace registration of per-architecture data. Add temporary hack to set svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS is set. * Makefile.in (solib-svr4.o): Update dependencies.
2005-04-25 * event-loop.c (gdb_assert.h): Include.Mark Mitchell1-1/+1
(<windows.h>): Include under Windows. (<io.h>): Likeiwse. (gdb_select): New function. (gdb_wait_for_event): Use it. * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
2005-04-23* sparc64-tdep.c: Include "dwarf2-frame.h".Mark Kettenis1-5/+5
(sparc64_dwarf2_frame_init_reg): New function. * Makefile.in (sparc64-tdep.o): Update dependencies.
2005-04-22* sparc-linux-tdep.c: Reorder includes. Tweak a few comments.Mark Kettenis1-4/+4
(LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1) (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove macros. (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode instructions. * sparc64-linux-tdep.c: Reorder includes. Tweak a few comments. (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove macros. (sparc64_linux_rt_sigframe): Hardcode instructions. * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
2005-04-21 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.David S. Miller1-3/+3
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames. (sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start, sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p, sparc32_linux_sigtramp_frame_cache, sparc32_linux_sigtramp_frame_this_id, sparc32_linux_sigtramp_frame_prev_register, sparc32_linux_sigtramp_frame_unwind, sparc32_linux_sigtramp_frame_sniffer): Delete. (sparc32_linux_init_abi): Register new tramp unwinders. Kill register of old sigtramp sniffer. * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New function. (sparc64_linux_rt_sigframe): New tramp frame. (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p, sparc64_linux_sigtramp_frame_cache, sparc64_linux_sigtramp_frame_this_id, sparc64_linux_sigtramp_frame_prev_register, sparc64_linux_sigtramp_frame_unwind, sparc64_linux_sigtramp_frame_sniffer): Delete. (sparc64_linux_init_abi): Register new tramp unwinders. Kill register of old sigtramp sniffer. Makefile.in (sparc64-linux-tdep.o): Update dependencies. (sparc-linux-tdep.o): Likewise.
2005-04-21 * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): FixDavid S. Miller1-2/+4
signal return stub symbol names, __restore and __restore_rt are the i386 symbol names not the sparc ones. (sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h as where the offsets were obtained from. * sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): New defines. (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p, sparc64_linux_sigtramp_frame_cache, sparc64_linux_sigtramp_frame_this_id, sparc64_linux_sigtramp_frame_prev_register, sparc64_linux_sigtramp_frame_sniffer): New functions. (sparc64_linux_sigtramp_frame_unwind): New frame unwinder. (sparc64_linux_init_abi): Register sigtramp frame sniffer. * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
2005-04-17* hppabsd-nat.c: Update copyright year. Include "target.h" andMark Kettenis1-1/+1
"inf-ptrace.h". (hppabsd_fetch_registers): Renamed from fetch_inferior_registers; made static. (hppabsd_store_registers): Renamed from store_inferior_registers; made static. (_initialize_hppabsd_nat): New function and prototype. * config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Remove. * Makefile.in (hppabsd-nat.o): Update dependencies.
2005-04-17* pa64solib.c, pa64solib.h: Remove files.Mark Kettenis1-5/+0
* Makefile.in (pa64solib_h): Remove variable (pa64solib.o): Remove dependency.
2005-04-16* ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".Mark Kettenis1-1/+1
(ppcobsd_fetch_registers): Renamed from fetch_inferior_registers; made static. (ppcobsd_store_registers): Renamed from store_inferior_registers; made static. (_initialize_ppcobsd_nat): Construct and add target vector. * config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Remove. * Makefile.in (ppcobsd-nat.o): Update dependencies.
2005-04-16* ppcobsd-tdep.c: Include "floatformat.h".Mark Kettenis1-4/+4
(ppcobsd_init_abi): Set long_double_bit and long_double_format. * Makefile.in (ppcobsd-tdep.o): Update dependencies.
2005-04-15 * MAINTAINERS: Change sh64-elf state to non-broken.Corinna Vinschen1-5/+5
* Makefile.in: Fix dependencies for sh64-tdep.o. * configure.tgt: Add sh64-*-elf case. * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case. * sh64-tdep.c: Rework to replace all deprecated mechanisms with modern methods. * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. * config/sh/sh64.mt: Resurrect.
2005-04-09* ppcobsd-tdep.c: Update copyright year. Include "trad-frame.h"Mark Kettenis1-2/+3
and "tramp-frame.h". (ppcobsd_sigtramp_cache_init): New function. (ppcobsd_sigtramp): New variable. (ppcobsd_init_abi): Prepend signal trampoline unwinder. * Makefile.in (ppcobsd-tdep.o): Update dependencies.
2005-03-31 * gdbarch.sh (fetch_tls_load_module_address): New architecture method.Kevin Buettner1-3/+3
* gdbarch.c, gdbarch.h: Regenerate. * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module address and pass this address, instead of the objfile address, to target_get_thread_local_address(). * linux-thread-db.c (thread_db_get_thread_local_address): Change second parameter from type ``struct objfile *'' to CORE_ADDR. Do not call svr4_fetch_objfile_link_map() to fetch the load module address. * target.h (struct target_ops): Change second parameter of ``to_get_thread_local_address'' from ``struct objfile *'' to ``CORE_ADDR''. * alpha-linux-tdep.c (solib-svr4.h): Include. (alpha_linux_init_abi): Register TLS load module fetcher. * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise. * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise. * i386-linux-tdep.c (i386_linux_init_abi): Likewise. * ia64-linux-tdep.c (solib-svr4.h): Include. (ia64_linux_init_abi): Register TLS load module fetcher. * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise. * m68klinux-tdep.c (m68k_linux_init_abi): Likewise. * mips-linux-tdep.c (mips_linux_init_abi): Likewise. * s390-tdep.c (s390_gdbarch_init): Likewise. * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise. * sparc64-linux-tdep.c (solib-svr4.h): Include. (sparc64_linux_init_abi): Register TLS load module fetcher. * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o) (sparc-linux-tdep.o): Update dependencies.
2005-03-29Missed part of earlier commit.Daniel Jacobowitz1-1/+2
2005-03-25 * Makefile.in (SFILES): Add ser-base.c.Mark Mitchell1-5/+8
(ser_base_h): New variable. (ser-base.o): New target. (ser-pipe.o): Depend on $(ser_base_h). (ser-tcp.o): Likewise. (ser-unix.o): Likewise. Do not depend on $(event_loop_h). * configure.ac (SER_HARDWIRE): Include ser-base.o where appropriate. * ser-base.c: New file. (push_event): Move from ser-unix.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. * ser-base.h: New file. * ser-pipe.c (ser-base.h): Include it. * ser-tcp.c (ser-base.h): Likewise. * ser-unix.h (ser_unix_nop_flush_output): Remove. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_wait_for): Likewise. (ser_unix_write): Likewise. (ser_unix_async): Likewise. * ser-unix.c (event-loop.h): Do not include it. (push_event): Move to ser-base.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. (ser_unix_wait_for): Make it static. * configure: Regenerated.
2005-03-18Move printing of TLS related error messages to dwarf2loc.c.Kevin Buettner1-5/+5
2005-03-14 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is aBen Elliston1-1/+1
more primitive library.
2005-03-11 * Makefile.in (SFILES): Add cp-names.y.Daniel Jacobowitz1-1/+17
(libiberty_h, safe_ctype_h): New. (YYFILES): Add cp-names.c. (YYOBJ): Add cp-names.o. (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules. (clean): Remove test-cp-names$(EXEEXT). (local-maintainer-clean): Remove cp-names.c. * cp-names.y: New file. * cp-support.c (find_last_component): Delete. (d_left, d_right): Define. (cp_canonicalize_string, mangled_name_to_comp): New functions. (cp_class_name_from_physname, method_name_from_physname): Rewrite to use mangled_name_to_comp. * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp) (cp_comp_to_string): New prototypes. * config/djgpp/fnchange.lst: Add cp-names.c.
2005-03-08 * Makefile.in: Add dependencies for iq2000-tdep.o.Corinna Vinschen1-0/+4
* configure.tgt: Add iq2000-*-* target. * iq2000-tdep.c: New file. * config/iq2000/iq2000.mt: New file.
2005-03-08 * doc/observer.texi (executable_changed): New observer.Joel Brobecker1-3/+3
* symtab.c: Include "observer.h". (find_main_name): New function. (main_name): If name_of_main is unset, then compute it using find_main_name. (symtab_observer_executable_changed): New function. (_initialize_symtab): Attach executable_changed observer. * exec.c: Include "observer.h". (exec_file_attach): Emit executable_changed notification. * symfile.c: Include "observer.h". (reread_symbols): Send an executable_changed if appropriate. * Makefile.in (exec.o): Add dependency on observer.h. (symfile.o): Likewise. (symtab.o): Likewise.
2005-03-06* sparc64fbsd-tdep.c: Include "solib-svr4.h".Mark Kettenis1-1/+1
(sparc64fbsd_init_abi): Set skip_trampoline_code and solib_svr4_fetch_link_map_offsets. * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
2005-03-05* alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".Mark Kettenis1-1/+1
(alphabsd_fetch_inferior_registers): Rename from fetch_inferior_registers. Make static. (alphabsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (_initialize_alphabsd_nat): New function. * Makefile.in (alphabsd-nat.o): Update dependencies. * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o. * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable. (NATDEPFILES): Remove infptrace.o and inftarg.o. Add alphabsd-nat.o. * config/alpha/nm-fbsd.h: Update copyright year. Don't include "config/nm-bsd.h" and "elf/common.h". * config/alpha/nm-nbsd.h: Update copyright year. Don't include "config/nm-nbsd.h".
2005-03-04 * Makefile.in (remote.o): Update dependencies.Daniel Jacobowitz1-1/+1
* remote.c: Include "observer.h".
2005-02-16* wrapper.h: Update copyright year. Properly wrap a fewMark Kettenis1-1/+2
prototypes. (struct gdb_wrapper_arguments): Remove forward declaration. * wrapper.c: Update copyright year. Include "ui-out.h". (struct gdb_wrapper_arguments): Remove. (struct captured_value_struct_elt_args): Remove. (wrapper_parse_exp_1, wrap_evaluate_expression) (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign) (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type) (do_captured_value_struct_elf): Remove functions. (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy) (gdb_value_equal, gdb_value_assign, gdb_value_subscript) (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt): Re-implement using TRY_CATCH.
2005-02-10 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:Daniel Jacobowitz1-1/+1
PR exp/1821 * cp-valprint.c: Include "language.h". (cp_print_value_fields): Pass the current language to fprintf_symbol_filtered. * Makefile.in (cp-valprint.o): Update dependencies. testsuite/ From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>: PR exp/1821 * gdb.base/gdb1821.c: New test file. * gdb.base/gdb1821.exp: New test file.
2005-02-092005-02-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-3/+4
* value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) (METHOD_PTR_TO_VOFFSET): Move from here ... * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) (METHOD_PTR_TO_VOFFSET): ... to here. * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h". * Makefile.in: Update dependencies.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+2
* m2-valprint.c: Include "c-lang.h". (c_val_print): Delete extern declaration. * scm-valprint.c: Include "c-lang.h". (c_val_print): Delete extern declaration. Makefile.in: Update dependencies.
2005-01-282005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-4/+7
* gnu-v2-abi.h: New file. * gnu-v2-abi.c: Include "gnu-v2-abi.h". (gnuv2_baseclass_offset): Delete declaration. * hpacc-abi.c: Include "gnu-v2-abi.h". (gnuv2_baseclass_offset): Delete extern declaration. * Makefile.in: Update dependencies.
2005-01-23* i386obsd-tdep.c: Update copyright year. IncludeMark Kettenis1-1/+1
"bsd-uthread.h". (i386obsd_uthread_reg_offset): New variable. (I386OBSD_UTHREAD_ESP_OFFSET): New define. (i386obsd_supply_uthread, i386obsd_collect_uthread): New functions. (i386obsd_init_abi): Set supply_uthread and collect_uthread. * Makefile.in (i386obsd-tdep.o): Update dependencies. * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* utils.c (quit): Simplify, call fatal. * exceptions.c: Include "serial.h" (print_flush): Mimic flush code found in utils.c:quit. * Makefile.in: Update dependencies.
2005-01-16* amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"Mark Kettenis1-2/+2
and "bsd-uthread.h". (amd64fbsd_jmp_buf_reg_offset): New variable. (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New functions. (amd64fbsd_init_abi): Set supply_uthread and collect_uthread. * i386fbsd-tdep.c: Fix typo. * Makefile.in (amd64fbsd-tdep.o): Update dependencies. * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
2005-01-162005-01-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-6/+7
* cli/cli-script.c: Include "exceptions.h". (struct wrapped_read_command_file_args): Define. (wrapped_read_command_file): New function. (script_from_file): Replace direct call to read_command_file by one wrapped by an exception handler. * exceptions.c (throw_it): Free the old message after creating the new. * Makefile.in: Update dependencies. Index: testsuite/ChangeLog 2005-01-16 Andrew Cagney <cagney@gnu.org> * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
2005-01-16* sparc64fbsd-nat.c: Include "fbsd-nat.h".Mark Kettenis1-1/+1
(_initialize_sparc64fbsd_nat): Add some extra features to the generic SPARC target. * Makefile.in (sparc64fbsd-nat.o): Update dependencies. * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o. (NAT_FILE): Set to solib.h. * config/sparc/nm-fbsd.h: Remove file.
2005-01-16* Makefile.in (sparc64fbsd-nat.o): Update dependencies.Mark Kettenis1-2/+2
* sparc64fbsd-nat.c: Update copyright year. Include "target.h".
2005-01-132005-01-12 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-8/+11
* exceptions.c (exception_none): New variable. * Makefile.in: Update dependencies. * interps.c: Include "exceptions.h". (interpreter_exec_cmd, interp_exec): Update to return "struct exception" * exceptions.h (no_exception): Declare. * tui/tui-interp.c (tui_exec): Update to return "struct exception" * mi/mi-interp.c: Include "exceptions.h". (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return 'struct exception". * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command) (do_captured_execute_command): Update to use catch_exception. * interps.h: Include "exceptions.h". (interp_exec_ftype, interp_exec): Return "struct exception".
2005-01-12* i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",Mark Kettenis1-3/+9
"regcache.h", "gdb_assert.h" and "bsd-uthread.h". (i386fbsd_jmp_buf_reg_offset): New variable. (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New functions. (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread. * Makefile.in (i386fbsd-tdep.o): Update dependency. * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.