aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-11-152003-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+10
* config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename USE_REGISTER_NOT_ARG. * stabsread.c (define_symbol): Update.
2003-11-152003-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-8/+37
* bcache.h (deprecated_bcache): Declare. (bcache): Make returned buffer constant. * bcache.c (deprecated_bcache): New function. (bcache_data): New function. (bcache): Call bcache data. * symfile.c (add_psymbol_to_list): Use deprecated_bcache. (add_psymbol_with_dem_name_to_list): Ditto.
2003-11-152003-11-15 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-899/+4
* gdb.trace/configure: Remove.
2003-11-15* glibc-tdep.h (struct gdbarch): Declare opaque.Mark Kettenis7-32/+21
(glibc_skip_solib_resolver): Adjust prototype. * glibc-tdep.c (glibc_skip_solib_resolver): Adjust. * arm-linux-tdep.c (arm_linux_skip_solib_resolver): Remove. (arm_linux_init_abi): Set skip_solib_resolver. * i386-linux-tdep.c (i386_linux_skip_solib_resolver): Remove. (i386_linux_init_abi): Set skip_solib_resolver. * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. (arm_linux_skip_solib_resolver): Remove prototype. * config/i386/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. (i386_linux_skip_solib_resolver): Remove prototype.
2003-11-15*** empty log message ***gdbadmin1-1/+1
2003-11-14* gdbarch.sh (skip_solib_resolver): Change into a multi-archMark Kettenis7-22/+23
function. * gdbarch.c, gdbarch.h: Regenerate. * infrun.c (handle_inferior_event): Call gdbarch_skip_solib_resolver instead of SKIP_SOLIB_RESOLVER. * arch-utils.c (generic_in_solib_call_trampoline): Adjust function definition. * arch-utils.h (generic_in_solib_call_trampoline): Adjust function prototype.
2003-11-142003-11-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston8-524/+1219
* libunwind-frame.c: New file. * libunwind-frame.h: New file. * acconfig.h (HAVE_LIBUNWIND): #undef reference added. * configure.in: Add --with-libunwind option support. Define HAVE_LIBUNWIND if libunwind support selected / defaulted. Also check for libunwind.h and libunwind-ia64.h headers. * configure: Regenerated. * Makefile.in: Add support for libunwind-frame.o. * config.in: Regenerated.
2003-11-142003-11-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-4/+36
* config/ia64/nm-linux.h (NATIVE_XFER_UNWIND_TABLE): New macro to set up the ia64 linux native target method for getting the kernel unwind table. * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): New function. * inftarg.c (child_xfer_partial): Enable section of code to handle TARGET_OBJECT_UNWIND_TABLE. * target.h (target_object): Add new TARGET_OBJECT_UNWIND_TABLE macro.
2003-11-14 * config/arm/nbsd.mt (TM_FILE): Define.Ian Lance Taylor3-0/+32
* config/arm/tm-nbsd.h: New file.
2003-11-142003-11-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-15/+32
* Makefile.in (ppc-sysv-tdep.o): Update dependencies. * ppc-sysv-tdep.c: Include "objfiles.h". (ppc64_sysv_abi_push_dummy_call): Provide the the FN's objfile when looking for the descriptor.
2003-11-142003-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+8
* ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's "name_of_malloc" to ".malloc".
2003-11-14*** empty log message ***gdbadmin1-1/+1
2003-11-13* config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o.Mark Kettenis2-1/+5
2003-11-132003-11-13 David Carlton <carlton@kealia.com>David Carlton2-1/+5
* cp-namespace.c (lookup_namespace_scope): Fix typo in comment.
2003-11-132003-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-75/+69
* arch-utils.h (selected_architecture_name): Declare. (selected_byte_order): Declare. * arch-utils.c (selected_byte_order): New function. (selected_architecture_name): New function. (target_architecture_auto): Make static. (set_architecture_string): Make static. (target_byte_order): Make static. (target_byte_order_auto): Make static. * gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete non-multi-arch definition. (TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete. (target_byte_order, target_architecture): Delete declaration. (target_byte_order_auto, target_architecture_auto): Ditto. * gdbarch.h: Re-generate. * remote-sim.c (gdbsim_open): Use "selected_architecture_name" and "selected_byte_order".
2003-11-132003-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+8
* ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.
2003-11-13* cp-namespace.c: Doc fix.Jim Blandy2-1/+5
2003-11-132003-11-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-88/+113
* gdb.base/break.c: Add comments to aid finding line numbers for breakpoints. * gdb.base/break.exp: Remove all references to explicit line numbers.
2003-11-132003-11-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-31/+44
* sh64_tdep.c: Regularize some names. (sh_sh64_register_name): Rename to sh64_register_name. (sh_sh64_breakpoint_from_pc): Rename to sh64_breakpoint_from_pc. (sh_sh64_register_byte): Rename to sh64_register_byte. (sh_sh64_build_float_register_type): Rename to sh64_build_float_register_type. (sh_sh64_register_convert_to_virtual): Rename to sh64_register_convert_to_virtual. (sh_sh64_register_convert_to_raw): Rename to sh64_register_convert_to_raw.
2003-11-13*** empty log message ***gdbadmin1-1/+1
2003-11-122003-11-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-24/+13
* sh64-tdep.c (translate_insn_rn, is_media_pseudo, sh64_media_reg_base_num, sh64_compact_reg_base_num, sh64_nofp_frame_init_saved_regs, sh64_push_arguments, sh64_extract_return_value, sh64_show_media_regs, sh64_show_compact_regs, sh_sh64_register_byte, sh64_register_type, sh_sh64_register_convert_to_virtual, sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, sh64_pseudo_register_write, sh64_do_pseudo_register, sh_compact_print_registers_info): Delete unused variable 'tdep'.
2003-11-122003-11-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-220/+221
* sh64-tdep.c: Coding standard and spelling comment fixes. (sh64_extract_return_value): Replace deprecated_store_floating with store_typed_floating. (sh_sh64_register_convert_to_raw): Replace deprecated_store_floating with store_typed_floating. (sh_sh64_register_virtual_type): Convert to sh64_register_type. (sh64_frame_chain, sh64_get_saved_pr, sh64_get_saved_register, sh64_nofp_frame_init_saved_regs, sh64_push_arguments, sh64_extract_struct_value_address, sh64_pop_frame, sh64_extract_return_value, sh64_store_return_value, sh_sh64_register_convert_to_virtual, sh64_pseudo_register_read, sh_sh64_register_convert_to_raw, sh_pseudo_register_write): Replace DEPRECATED_REGISTER_RAW_SIZE with register_size. Replace DEPRECATED_REGISTER_VIRTUAL_TYPE with register_type. (sh64_gdbarch_init): Don't set deprecated_register_bytes, deprecated_register_virtual_type, deprecated_register_raw_size, deprecated_max_register_raw_size, or deprecated_max_register_virtual_size. Instead, just set gdbarch_register_type.
2003-11-12 * dwarf2read.c (struct dwarf2_cu): New type.Daniel Jacobowitz2-371/+365
(dwarf2_build_psymtabs_hard, psymtab_to_symtab_1): Create a dwarf2_cu structure to pass down. (scan_partial_symbols, add_partial_symbol, add_partial_namespace) (add_partial_enumeration, locate_pdi_sibling, process_die) (read_file_scope, read_func_scope) (read_lexical_block_scope, dwarf2_get_pc_bounds) (dwarf2_add_field, dwarf2_attach_fields_to_type) (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type) (read_structure_scope, read_enumeration, read_array_type) (read_common_block, read_namespace, read_tag_pointer_type) (read_tag_ptr_to_member_type, read_tag_reference_type) (read_tag_const_type, read_tag_volatile_type, read_tag_string_type) (read_subroutine_type, read_typedef, read_base_type, read_comp_unit) (read_die_and_children, read_die_and_siblings, dwarf2_read_section) (dwarf2_read_abbrevs, dwarf2_lookup_abbrev, read_partial_die) (read_full_die. read_attribute_value, read_attribute) (read_address, dwarf_decode_line_header, dwarf_decode_lines) (var_decode_location, new_symbol, dwarf2_const_value, die_type) (die_containing_type, type_at_offset, tag_type_to_type) (read_type_die, dwarf_base_type, decode_locdesc, dwarf_decode_macros) (dwarf2_symbol_mark_computed): Accept and use a dwarf2_cu object.
2003-11-12 PR breakpoints/1450Daniel Jacobowitz2-1/+11
* breakpoint.c (insert_bp_location): Fix a logic error by returning 0 after a catchpoint fails.
2003-11-12*** empty log message ***gdbadmin1-1/+1
2003-11-112003-11-11 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-6/+4
* mips-tdep.c (msymbol_size): Delete.
2003-11-112003-11-07 Michael Chastain <mec@shout.net>Michael Chastain10-50/+46
* symtab.h (struct minimal_symbol): Add size. * dbxread.c: Use it. * elfread.c: (record_minimal_symbol_and_info): Do not use info. Rename to record_minimal_symbol. (elf_symtab_read): Set MSYMBOL_SIZE explicitly. * minsyms.c (prim_record_minimal_symbol_and_info): Initialize MSYMBOL_SIZE. (install_minimal_symbols): Ditto. * objfiles.c (terminate_minimal_symbol_table): Ditto. * arm-tdep.c: Delete unused MSYMBOL_SIZE. * m68hc11-tdep.c: Ditto. * mips-tdep.c: Ditto. * sh64-tdep.c: Ditto.
2003-11-11Do not run for targets which do not support shared objects.Nick Clifton2-0/+10
2003-11-112003-11-10 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-2/+6
* MAINTAINERS: Change my e-mail address.
2003-11-112003-11-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-7/+19
* stabs.texinfo: Add dircategory and direntry commands. * annotate.texinfo: Ditto.
2003-11-11*** empty log message ***gdbadmin1-1/+1
2003-11-102003-11-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-94/+121
* gdbarch.sh (return_value): Replace "inval" and "outval" with "readbuf" and "writebuf". * ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto. * d10v-tdep.c (d10v_return_value): Ditto. * ppc-tdep.h (ppc_sysv_abi_return_value): Ditto. (ppc_sysv_abi_broken_return_value): Ditto. (ppc64_sysv_abi_return_value): Ditto. * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Ditto. (ppc_sysv_abi_return_value): Ditto. (ppc_sysv_abi_broken_return_value): Ditto. (ppc64_sysv_abi_return_value): Ditto. * values.c (register_value_being_returned): Update call. * stack.c (return_command): Update call. * gdbarch.h, gdbarch.c: Re-generate. Index: gdb/doc/ChangeLog 2003-11-10 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace the return_value method's "inval" and "outval" parameters with "readbuf" and "writebuf".
2003-11-102003-11-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-29/+35
* target.h (struct target_ops): Order xfer buffer parameters "read write" not "write read". * bfd-target.c (target_bfd_xfer_partial): Update. * remote.c (remote_xfer_partial): Update. * inftarg.c (child_xfer_partial): Update. * target.c (default_xfer_partial): Update. (target_read_partial, target_write_partial): Update. (debug_to_xfer_partial): Update.
2003-11-102003-11-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+4
* arch-utils.h, arch-utils.c: Fix typo in comment.
2003-11-10fix changelog tipo.Andrew Cagney1-1/+2
2003-11-102003-11-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-37/+8
* arch-utils.c (deprecated_select_gdbarch_hack): Delete function. (gdbarch_from_bfd): Call gdbarch_find_by_info. (set_gdbarch_from_file): Call "deprecated_select_gdbarch_hack".
2003-11-10 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.Corinna Vinschen2-8/+8
Don't run tests if nofileio flag is given.
2003-11-10Fix changelog tipo.Andrew Cagney1-1/+1
2003-11-102003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-186/+285
* arch-utils.c (gdbarch_update_p): New function. * gdbarch.sh (gdbarch_update_p): Delete function. (find_arch_by_info, gdbarch_find_by_info): New functions. (deprecated_current_gdbarch_set_hack): New function. * gdbarch.c: Re-generate.
2003-11-102003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-107/+67
* gdbarch.sh (clear_gdbarch_swap): Delete function. (swapout_gdbarch_swap): Delete function. (swapin_gdbarch_swap): Delete function. (init_gdbarch_swap): Delete function. (initialize_non_multiarch): Delete function. (current_gdbarch_swap_in_hack): New function. (current_gdbarch_swap_out_hack): New function. (current_gdbarch_swap_init_hack): New function. * gdbarch.c: Re-generate.
2003-11-102003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-44/+61
* gdbarch.sh (verify_gdbarch, gdbarch_dump): Rename "gdbarch" parameter to "current_gdbarch". Add comment explaining why. (TARGET_FLOAT_FORMAT: Pass "current_gdbarch" to default_double_format. (TARGET_DOUBLE_FORMAT,TARGET_LONG_DOUBLE_FORMAT): Ditto. * gdbarch.c: Re-generate.
2003-11-102003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-59/+9
* config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros. * config/s390/nm-linux.h (KERNEL_U_ADDR): Define. * config/s390/xm-linux.h: Delete file. * config/m88k/xm-delta88v4.h: Delete stray.
2003-11-10*** empty log message ***gdbadmin1-1/+1
2003-11-092003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-64/+67
* Makefile.in (arch-utils.o): Update dependencies. * arch-utils.c: Include "osabi.h". (gdbarch_info_fill): New function. * arch-utils.h (gdbarch_info_fill): Declare. * gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill". * gdbarch.c: Re-generate.
2003-11-09See previous commit.Mark Kettenis2-175/+7
2003-11-09* glibc-tdep.c, glibc-tdep.h: New files.Mark Kettenis6-4/+154
* config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o * config/i386/linux.mt (TDEPFILES): Likewise. * i386-linux-tdep.c (glibc-tdep.h): Include. (find_minsym_and_objfile, skip_hurd_resolver): Delete. (i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. * arm-linux-tdep.c (glibc-tdep.h): Include. (find_minsym_and_objfile, skip_hurd_resolver): Delete. (arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver. * Makefile.in (ALLDEPFILES): Add glibc-tdep.c (glibc_tdep_h): Define. (glibc-tdep.o): Add dependencies. (arm-linux-tdep.o): Update dependencies. (i386-linux-tdep.o): Likewise.
2003-11-092003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-75/+14
* config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h". * config/mips/nm-irix6.h: Delete file. * config/mips/nm-linux.h: Update copyright. (MIPS_GNULINUX_TARGET): Delete macro. * config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h". * config/mips/xm-irix6.h: Delete file. * config/mips/linux.mh (XM_FILE): Delete definition. * config/mips/xm-linux.h: Delete file.
2003-11-092003-11-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-124/+86
* d10v-tdep.c (d10v_return_value): New function. (d10v_use_struct_convention): Delete function. (d10v_store_return_value): Delete function. (d10v_extract_struct_value_address): Delete function. (d10v_gdbarch_init): Set "return_value" instead of "extract_return_value", "store_return_value", "extract_struct_value_address", and "use_struct_convention". (RET1_REGNUM): Delete const.
2003-11-09From David S. Miller <davem@redhat.com>:Mark Kettenis7-4/+66
* gdbarch.sh (SKIP_SOLIB_RESOLVER): New method. * gdbarch.c, gdbarch.h: Regenerated. * arch-utils.c (generic_skip_solib_resolver): New function. * arch-utils.h (generic_skip_solib_resolver): New prototype. * infrun.c (SKIP_SOLIB_RESOLVER): Don't define.
2003-11-09*** empty log message ***gdbadmin1-1/+1