summaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>Daniel Jacobowitz2006-10-101-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> * Makefile.in (expprint.o, parse.o, target.o): Update. * dwarf2loc.c (dwarf_expr_tls_address): Move body to target_translate_tls_address. Call it. * eval.c (evaluate_subexp_standard): Handle UNOP_MEMVAL_TLS. * expprint.c (print_subexp_standard): Likewise. (op_name_standard, dump_subexp_body_standard): Likewise. * expression.h (enum exp_opcode): Add UNOP_MEMVAL_TLS. (union exp_element): Add objfile. * parse.c (write_exp_elt_objfile): New function. (msym_tls_symbol_type): New. (write_exp_msymbol): Handle TLS. (operator_length_standard): Handle UNOP_MEMVAL_TLS. (build_parse): Initialize msym_tls_symbol_type. * parser-defs.h (write_exp_elt_objfile): New prototype. * target.c (target_translate_tls_address): New. * target.h (target_translate_tls_address): Add prototype. 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
* * Makefile.in (gdb_expat_h): New.Daniel Jacobowitz2006-10-051-3/+4
| | | | | | | | | (xml_support_h): Add gdb_expat.h dependency. (memory-map.o, xml-support.o): Likewise. * gdb_expat.h: New file. * xml-support.h: Include it. * memory-map.c, xml-support.c: Likewise. Remove XML_STATUS_OK definitions.
* * Makefile.in (SFILES): Add target-memory.c.Daniel Jacobowitz2006-09-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (COMMON_OBS): Add target-memory.o. * memattr.c (lookup_mem_region): Adjust handling for the top of memory. Improve comments. * remote.c (packet_check_result): New function, split out from packet_ok. Recognize "E." as an error prefix. (packet_ok): Use it. (remote_write_bytes_aux): New function, renamed from remote_write_bytes. Take packet header, packet format, and length flag as arguments. (remote_write_bytes): Rewrite to use remote_write_bytes_aux. (remote_send_printf, restore_remote_timeout) (remote_flash_timeout, remote_flash_erase, remote_flash_write) (remote_flash_done): New. (remote_xfer_partial): Handle flash writes. (init_remote_ops, init_remote_async_ops): Set to_flash_erase and to_flash_done. * symfile.c (struct load_section_data): Include a pointer to the cumulative stats and a request queue. Move most members to other types. (struct load_progress_data, struct load_progress_section_data): New types. (load_progress): Handle a NULL baton and zero bytes. Update for type changes. (load_section_callback): Create memory write requests instead of writing to memory. Don't print the progress message here. (clear_memory_write_data): New function. (generic_load): Use target_write_memory_blocks. * target-memory.c: New file. * target.c (update_current_target): Mention new uninherited methods. (memory_xfer_partial): Issue an error for flash writes. (target_flash_erase, target_flash_done): New functions. (target_write_with_progress): Call the progress callback at the start also. * target.h (enum target_object): Add TARGET_OBJECT_FLASH. (target_write_with_progress): Update comment. (struct target_ops): Add to_flash_erase and to_flash_done. (target_flash_erase, target_flash_done, struct memory_write_request) (memory_write_request_s, enum flash_preserve_mode) (target_write_memory_blocks): New, including a vector type for memory_write_request_s.
* gdb/Daniel Jacobowitz2006-09-211-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-09-21 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> * Makefile.in (SFILES): Add memory-map.c and xml-support.c. (memory_map_h, xml_support_h): New. (target_h): Add vec_h dependency. (COMMON_OBS): Add memory-map.o and xml-support.o. (memory-map.o, xml-support.o): New rules. (remote.o): Update. * exceptions.h (enum errors): Add XML_PARSE_ERROR. * infcmd.c (run_command_1, attach_command): Call target_pre_inferior. * memattr.c (default_mem_attrib): Initialize blocksize. (target_mem_region_list, mem_use_target) (target_mem_regions_valid, mem_region_cmp, mem_region_init) (require_user_regions, require_target_regions) (invalidate_target_mem_regions): New. (create_mem_region): Use mem_region_init. (mem_clear): Move higher. (lookup_mem_region): Use require_target_regions. (mem_command): Implement "mem auto". (mem_info_command): Handle target-supplied regions and flash attributes. (mem_enable_command, mem_disable_command, mem_delete_command): Use require_user_regions. (_initialize_mem): Mention "mem auto" in help. * memattr.h (enum mem_access_mode): Add MEM_FLASH. (struct mem_attrib): Add blocksize. (invalidate_target_mem_regions, mem_region_init, mem_region_cmp): New prototypes. * remote.c: Include "memory-map.h". (PACKET_qXfer_memory_map): New enum value. (remote_protocol_features): Add qXfer:memory-map:read. (remote_xfer_partial): Handle memory maps. (remote_memory_map): New. (init_remote_ops, init_remote_async_ops): Set to_memory_map. (_initialize_remote): Register qXfer:memory-map:read. * target.c (update_current_target): Mention to_memory_map. (target_memory_map, target_pre_inferior): New. (target_preopen): Call target_pre_inferior. * target.h: Include "vec.h". (enum target_object): Add TARGET_OBJECT_MEMORY_MAP. (struct target_ops): Add to_memory_map. (target_memory_map, target_pre_inferior): New prototypes. * memory-map.c, memory-map.h, xml-support.c, xml-support.h: New files. gdb/doc/ 2006-09-21 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * gdb.texinfo (Memory Region Attributes): Mention target-supplied memory regions and "mem auto".
* * Makefile.in (memattr_h, memattr.o): Update.Daniel Jacobowitz2006-09-211-2/+2
| | | | | | | | | | | | | | | | | * memattr.h: Include "vec.h". (struct mem_region): Remove linked list pointer. (mem_region_s): New typedef and corresponding vector. * memattr.c: Include "vec.h". (mem_region_chain): Delete. (mem_region_list): New vector pointer. (mem_region_lessthan): New function. (create_mem_region): Remove unused return value. Use vector operations. Remove linear search. (delete_mem_region): Delete. (lookup_mem_region): Use vector operations. Add a FIXME. (mem_info_command): Update to work with vectors. (mem_enable, mem_enable_command, mem_disable, mem_disable_command) (mem_free, mem_delete): Likewise.
* 2006-09-21 Nathan Sidwell <nathan@codesourcery.com>Daniel Jacobowitz2006-09-211-2/+4
| | | | | | | | | | | | gdb/ * vec.h: New file. * vec.c: New file. * Makefile.in (SFILES): Add vec.c. (vec_h): New. (COMMON_OBJS): Add vec.o. (vec.o): New target. gdb/doc/ * gdbint.texinfo (Array Containers): New section.
* * Makefile.in (INTERNAL_CPPFLAGS): New.Daniel Jacobowitz2006-08-221-1/+4
| | | | (INTERNAL_CFLAGS_BASE): Use it.
* gdb/Daniel Jacobowitz2006-08-191-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (amd64_linux_tdep_h): New. (amd64-linux-nat.o, amd64-linux-tdep.o): Update. * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add ORIG_RAX. (_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs. * amd64-linux-tdep.c (amd64_linux_register_name) (amd64_linux_register_type, amd64_linux_register_reggroup_p) (amd64_linux_write_pc): New. (amd64_linux_init_abi): Use them, and update num_regs. * amd64-linux-tdep.h: New file. * amd64-tdep.c (amd64_register_name, amd64_register_type): Make public. * amd64-tdep.h (amd64_register_name, amd64_register_type): New prototypes. * regformats/reg-x86-64-linux.dat: New file. gdb/testsuite/ * Makefile.in (clean): Clean reg-x86-64-linux.c. (reg-x86-64-linux.o, reg-x86-64-linux.c): New. * configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o. * linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX. (x86_64_fill_gregset, x86_64_store_gregset): Skip floating point registers.
* * source.c: #include gdb_assert.h.Joel Brobecker2006-08-081-1/+2
| | | | | | | | | | | | | | | | | | (substitute_path_rule): New struct. (substitute_path_rules): New static global variable. (substitute_path_rule_matches): New function. (get_substitute_path_rule): New function. (rewrite_source_path): New function. (find_and_open_source): Add source path rewriting support. (strip_trailing_directory_separator): New function. (find_substitute_path_rule): New function. (add_substitute_path_rule): New function. (delete_substitute_path_rule): New function. (show_substitute_path_command): New function. (unset_substitute_path_command): New function. (set_substitute_path_command): New function. (_initialize_source): Add new substitute-path commands. * Makefile.in (source.o): Add dependency on gdb_assert.h.
* gdb/Daniel Jacobowitz2006-08-081-1/+4
| | | | | | | | | | | | | * configure.ac: Check for expat. * acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies. * Makefile.in (LIBEXPAT): New. (CLIBS): Include $(LIBEXPAT). * README: Mention expat. * configure, config.in: Regenerated. gdb/doc/ * gdb.texinfo (Installing GDB): Update menu. Move text to... (Running Configure): ...here. (Requirements): New node. Mention expat.
* * Makefile.in (objfiles.o, symfile.o): Update.Daniel Jacobowitz2006-08-081-2/+4
| | | | | | | * objfiles.c: Include "expression.h" and "parser-defs.h". (free_objfile): Clear global blocks. * symfile.c: Include "parser-defs.h". (clear_symtab_users): Clear global blocks.
* * arm-tdep.h: Add multiple inclusion protection.Mark Kettenis2006-08-021-2/+5
| | | | | | | | | | | | | | (struct gdbarch): Add forward declaration. (armobsd_regset_from_core_section): New prototype. * armbsd-tdep.c: New file. * armobsd-tdep.c: Include "gdb_string.h". (armobsd_init_abi): Set regset_from_core_section. (armobsd_core_osabi_sniffer): New function. (_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer. * Makefile.in (ALLDEPFILES): Add armbsd-tdep.c. (armbsd-tdep.o): New dependency. (armnbsd-tdep.o): Update dependencies. * config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o.
* * alpha-tdep.h (ALPHA_S0_REGNUM): New define.Mark Kettenis2006-07-311-1/+2
| | | | | | | | | | | | * alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>, <machine/pcb.h> and "bsd-kvm.h". (alphabsd_supply_pcb): New function. (_initialize_alphabsd_nat): Enable libkvm interface. * Makefile.in (alphabsd-nat.o): Update dependencies. * config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable. * config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable.
* * alphaobsd-tdep.c: Include "obsd-tdep.h".Mark Kettenis2006-07-191-1/+2
| | | | | | (alphaobsd_init_abi): Set skip_solib_resolver. * Makefile.in (alphaobsd-tdep.o): Update dependencies. * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
* * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)Daniel Jacobowitz2006-07-181-5/+0
| | | | | | | | | | | | (td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info) (thread_db_fetch_registers, thread_db_store_registers) (thread_db_thread_alive, thread_db_state_str): Delete. (thread_db_load): Don't look up regset functions. (thread_db_pid_to_str): Simplify. (thread_db_extra_thread_info): New. (init_thread_db_ops): Do not set to_fetch_registers, to_store_registers, or to_thread_alive. Set to_extra_thread_info. * Makefile.in: Remove linux-thread-db.o rule.
* * armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".Mark Kettenis2006-07-181-2/+2
| | | | | | | (armobsd_sigframe_init): New function. (armobsd_sigframe): New variable. (armobsd_init_abi): Prepend armobsd_sigframe unwinder. * Makefile.in (armobsd-tdep.o): Update dependencies.
* * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.Mark Kettenis2006-07-171-1/+1
| | | | | * Makefile.in (armobsd-tdep.o): Update dependencies. * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
* * armobsd-tdep.c: New file.Mark Kettenis2006-07-161-1/+3
| | | | | | | * Makefile.in (ALLDEPFILES): Add armobsd-tdep.c. (armobsd-tdep.o): New dependency. * config/arm/obsd.mt: New file. * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.
* * armnbsd-tdep.c: Don't include "nbsd-tdep.h".Mark Kettenis2006-07-151-1/+1
| | | | | | * config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o. (DEPRECATED_TM_FILE): Remove. * Makefile.in (armnbsd-tdep.o): Update dependencies.
* * Makefile.in (arm_linux_tdep_h): New variable.Daniel Jacobowitz2006-07-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (arm-linux-nat.o, arm-linux-tdep.o): Update. * arm-linux-nat.c: Include "arm-linux-tdep.h". (typeNone, typeSingle, typeDouble, typeExtended) (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11) (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none) (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single) (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register): Delete. (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs): Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register, and collect_nwfpe_register. (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use new regset functions. * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h". (arm_apcs_32): New declaration. (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset) (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble) (typeExtended, supply_nwfpe_register, collect_nwfpe_register) (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe) (arm_linux_regset_from_core_section): New. (arm_linux_init_abi): Register arm_linux_regset_from_core_section. * arm-linux-tdep.h: New file. * arm-tdep.h (struct regset): Declare. (struct gdbarch_tdep): Add gregset, fpregset members. * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and core-regset.o. * config/arm/linux.mt (TDEPFILES): Add corelow.o.
* * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.Daniel Jacobowitz2006-07-121-1/+3
| | | | | * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise. * gdbarch.sh: Correct comment.
* * alphaobsd-tdep.c: New file.Mark Kettenis2006-07-101-3/+7
| | | | | | | | | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a handler for GDB_OSABI_OPENBSD_ELF. * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c. (alphaobsd-tdep.o): New target. * config/alpha/obsd.mt: New file. * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
* * alphabsd-tdep.h: Tweak comments.Mark Kettenis2006-07-091-3/+4
| | | | | | | | | | | | | | | | | | | | | (SIZOEF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove. * alphanbsd-tdep.c: Reorder includes. Include "regset.h". (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines. (alphanbsd_supply_fpregset, alphanbsd_supply_gregset) (alphanbsd_aout_supply_gregset): New functions. (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset): New variables. (alphanbsd_regset_from_core_section) (alphanbsd_aout_regset_from_core_section): New functions. (fetch_core_registers, fetch_elfcore_registers): Remove functions. (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables. (alphanbsd_init_abi): Set regset_from_core_section. (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New functions. (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer. Use alphanbsd_aout_init_abi whre appropriate. Don't call deprecated_add_core_fns. * Makefile.in (alphanbsd-tdep.o): Update dependencies.
* gdb/Daniel Jacobowitz2006-07-051-6/+0
| | | | | | | | | | | | | | * remote.c (remote_xfer_partial): Remove KOD support. * target.h (enum target_object): Remove TARGET_OBJECT_KOD. * MAINTAINERS: Move Kernel Object Display entry to past maintainers. * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o): Remove KOD support. * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands. * NEWS: Mention KOD. * kod.h, kod.c, kod-cisco.c: Delete files. gdb/doc/ * doc/gdb.texinfo (KOD): Remove node. (GDB/MI Kod Commands): Remove commented out node.
* * arm-tdep.c (arm_register_type): Use unsigned types for registers.Daniel Jacobowitz2006-06-231-1/+1
| | | | | Add special types for sp and pc. * Makefile.in (arm-tdep.o): Update.
* Configury changes: update src repository (binutils, gdb, and rda) to useDaniel Jacobowitz2006-05-311-6/+5
| | | | | config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all affected autotools files. Include intl in gdb releases again.
* gdb/Daniel Jacobowitz2006-05-301-1/+1
| | | | | | | | | | | | * Makefile.in (arm-linux-nat.o): Update dependencies. * arm-linux-nat.c: Include "gdb_proc_service.h". (PTRACE_GET_THREAD_AREA): Define. (ps_get_thread_area): New function. gdb/gdbserver/ * Makefile.in (linux-arm-low.o): Update dependencies. * linux-arm-low.c: Include "../gdb_proc_service.h". (PTRACE_GET_THREAD_AREA): Define. (ps_get_thread_area): New function.
* Checked in under the 'obvious fix rule'Fred Fish2006-05-191-2/+2
| | | | | | | | 2006-05-19 Fred Fish <fnf@specifix.com> * Makefile.in: Fix spelling of 'explicitly' and 'explicit'. * dwarfread.c: Fix spelling of 'unexpected'. * mips-tdep.c: Fix spelling of 'possible' and 'Determine'. * stack.c: Fix spelling of 'RETURN_VALUE'.
* * dwarf2-frame.c: Include "value.h".Daniel Jacobowitz2006-05-171-1/+2
| | | | | (read_reg): Use unpack_long and register_type. * Makefile.in (dwarf2-frame.o): Update.
* * remote-rdp.c: Deleted.Daniel Jacobowitz2006-05-171-4/+1
| | | | | | | | | | * NEWS: Mention removal of remote-rdp.c. * Makefile.in (ALLDEPFILES): Remove remote-rdp.c. (remote-rdp.o): Delete. * README: Remove description of remote-rdp.c. * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment. * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
* * ppcobsd-nat.c: Include "gdb_assert.h".Mark Kettenis2006-05-151-2/+2
| | | | | | | | | | | | | | [PT_GETFPREGS] (getfpregs_supplies): New function. (ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS versions that have PT_GETFPREGS. (_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize ppcobsd_fpreg_offsets. * ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset): Declare. * ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New variables. (_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets. * Makefile.in (ppcobsd-nat.o): Update dependencies.
* * configure.ac: Use GCC_HEADER_STDINT.Daniel Jacobowitz2006-05-151-2/+21
| | | | | | | | | | * acinclude.m4: Include stdint.m4. * Makefile.in (gdb_stdint_h): Define. (distclean): Remove gdb_stdint.h. (Makefile, stamp-h): Update rules to generate only the correct files. (gdb_stdint.h, stamp-int): New rules. * config.in, configure: Regenerated.
* * valprint.c: Include "exceptions.h".Daniel Jacobowitz2006-05-151-1/+2
| | | | | (val_print): If something goes wrong while printing, supply an error message.
* * ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>Mark Kettenis2006-05-121-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg) (ppcnbsd_fill_fpreg): Remove prototypes. (struct regset): Add forward declaration. (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations. * ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h", "regset.h" and "gdb_string.h". Don't include "breakpoint.h", "value.h", target.h and nbsd-tdep.h". Reorder includes. (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET) (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG) (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG): Remove macros. (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg) (ppcnbsd_fill_fpreg): Remove functions. (fetch_core_registers, fetch_elfcore_registers): Remove functions. (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables. (ppcnbsd_reg_offsets): New variable. (ppcnbsd_gregset, ppcnbsd_fpregset): New variables. (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline introduced in NetBSD 2.0. (ppcnbsd_sigtramp): Provide complete signal trampoline. (ppcnbsd2_sigtramp): New variable. (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section. Add ppcnbs2_sigtramp unwinder. (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns. Initialize ppcnbsd_reg_offsets. * ppcnbsd-nat.c: Update copyright year. Reorder includes. (getregs_supplies): Use regnum instead of regno. (getfpregs_supplies): Likewise. (ppcnbsd_fetch_inferior_registers): Likewise. Call ppc_supply_gregset and ppc_suppply_fpregset instead of ppcnbsd_supply_reg and ppcnbsd_supply_fpreg (ppcnbsd_store_inferior_registers): Likewise. Call ppc_collect_gregset and ppc_collect_fpregset instead of ppcnbsd_fill_reg and ppcnbsd_fill_fpreg. (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'. (_initialize_ppcnbsd_nat): Add some whitespace. * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies. * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o. (NAT_FILE): Remove. * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
* * linux-nat.c (linux_nat_do_thread_registers): Use theDavid S. Miller2006-05-051-2/+2
| | | | | | regset_from_core_section infrastructure if the target supports it. * Makefile.in: Update dependencies.
* * rs6000-tdep.c: Include "reggroups.h" only once.Andreas Schwab2006-04-231-1/+1
| | | | * Makefile.in (rs6000-tdep.o): Update dependencies.
* 2006-04-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2006-04-201-0/+7
| | | | | | | | | | | | | * 2006-03-22 Jim Blandy <jimb@redhat.com> Add support for the Renesas M32C and M16C. * configure.tgt (m32c-*-*): New entry. * config/m32c/m32c.mt: New file. * m32c-tdep.c: New file. * Makefile.in (elf_m32c_h): New variable. (m32c-tdep.o): New rule. * NEWS: Mention new target. * MAINTAINERS: Designate Jim Blandy as responsible maintainer.
* * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2David S. Miller2006-04-091-3/+3
| | | | | | | | frame sniffer. * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so that the latter can override. * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
* * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).Ulrich Weigand2006-04-091-1/+2
| | | | | | | | | | | | | | | * s390-tdep.c: Include "prologue-value.h". (struct prologue_value): Remove. (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, pv_constant_last, pv_add, pv_add_constant, pv_subtract, pv_logical_and, pv_is_identical, pv_is_register): Remove. (compute_x_addr): Remove, replace by ... (s390_addr): ... this new function. (struct s390_prologue_data): Use pv_t instead of prologue_value. (s390_store, s390_load): Likewise. (s390_prologue_frame_unwind_cache): Likewise. (s390_analyze_prologue): Likewise. Also, simplify and combine several conditional statements.
* 2006-04-08 Jim Blandy <jimb@codesourcery.com>Jim Blandy2006-04-081-1/+2
| | | | | * Makefile.in (COMMON_OBS): List prologue-value.o. (Omitted from last patch.)
* * sparc64-linux-tdep.c (sparc64_linux_core_gregset,David S. Miller2006-04-081-5/+5
| | | | | | | | | | | | | | | | | sparc64_linux_supply_core_gregset, sparc64_linux_collect_core_gregset, sparc64_linux_supply_core_fpregset, sparc64_linux_collect_core_fpregset): New. (sparc64_linux_init_abi): Register them with generic sparc core regset infrastructure. * sparc32-linux-tdep.c (sparc32_linux_core_gregset, sparc32_linux_supply_core_gregset, sparc32_linux_collect_core_gregset, sparc32_linux_supply_core_fpregset, sparc32_linux_collect_core_fpregset): New. (sparc32_linux_init_abi): Register them with generic sparc core regset infrastructure. * Makefile.in: Update dependencies.
* * sparc-linux-tdep.c (sparc32_linux_step_trap): New.David S. Miller2006-04-081-2/+3
| | | | | | | (sparc32_linux_init_abi): Hook it into tdep->step_trap. * sparc64-linux-tdep.c (sparc64_linux_step_trap): New. (sparc64_linux_init_abi): Hook it into tdep->step_trap. * Makefile.in: Update dependencies.
* * Makefile.in: Update dependencies.Andreas Schwab2006-04-051-24/+27
|
* * sparc-linux-tdep.c (sparc32_linux_init_abi): AppendDavid S. Miller2006-04-051-8/+8
| | | | | dwarf2 frame sniffer. * Makefile.in (sparc-linux-tdep.o): Update dependencies.
* * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update forDavid S. Miller2006-04-041-2/+4
| | | | new includes.
* * Makefile.in (elf_common_h): Define.Andreas Schwab2006-04-041-0/+1
|
* * linux-thread-db.c: Include "linux-nat.h".Daniel Jacobowitz2006-03-301-1/+1
| | | | | | | | | | | | | (check_for_thread_db): New function, split out from thread_db_new_objfile. Remove dead check for active thread_db on inapplicable targets. (thread_db_new_objfile): Call check_for_thread_db. * Makefile.in (linux-thread-db.o): Update. * linux-nat.c (child_post_attach): Call check_for_thread_db. (linux_child_post_startup_inferior): Likewise. (lin_lwp_attach_lwp): Call target_post_attach instead of child_post_attach. * linux-nat.h (check_for_thread_db): New prototype.
* 2005-03-30 Randolph Chung <tausq@debian.org>Randolph Chung2006-03-301-1/+1
| | | | | | | | | | | | | * hppa-linux-tdep.c: Include regset.h. (GR_REGNUM, TR_REGNUM, greg_map): New. (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New. (hppa_linux_regset, hppa_linux_fpregset): New. (hppa_linux_regset_from_core_section): New. (hppa_linux_init_abi): Set regset_from_core_section. (_initialize_hppa_linux_tdep): Register osabi handler for 64-bit Linux. * Makefile.in (hppa-linux-tdep.o): Update dependencies. * config/pa/linux.mh: Stop using core-regset.o
* 2006-03-29 Daniel Jacobowitz <dan@codesourcery.com>Daniel Jacobowitz2006-03-291-3/+0
| | | | | | | | | | | | | * NEWS: Mention the removal of NLM. 2006-03-29 Steve Ellcey <sje@cup.hp.com> * Makefile.in (nlm): Remove target. * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm. * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm. * configure: Regenerate. * doc/gdb.texinfo: Remove gdbserve.nlm documentation. * nlm: Remove directory.
* * Makefile.in (utils.o): Update.Daniel Jacobowitz2006-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | * top.c (in_user_command): New. (command_line_input): Use input_from_terminal_p. (input_from_terminal_p): Don't check caution. Handle stdin == NULL for Insight. * top.h (in_user_command, caution): New declarations. * utils.c: Include "top.h". (query, defaulted_query): Check caution here. Move the call to input_from_terminal_p higher. * cli/cli-script.c (do_restore_user_call_depth): Only decrement the depth. Update in_user_command if necessary. (execute_user_command): Don't clobber old_chain. Set in_user_command. Let do_restore_user_call_depth handle user_call_depth. (read_command_lines): Check whether to prompt before calling Insight hooks. * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary input_from_terminal_p check.