aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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
2003-11-082003-11-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney24-79/+123
* top.c (print_gdb_version): Replace STREQ with strcmp. * valops.c (value_struct_elt_for_reference): Ditto. (value_struct_elt_for_reference): Ditto. * symtab.c (gdb_mangle_name): Ditto. (find_line_symtab): Ditto. * symmisc.c (maintenance_print_symbols): Ditto. * symfile.c (symbol_file_command): Ditto. * stabsread.c (define_symbol, read_type): Ditto. (cleanup_undefined_types, scan_file_globals): Ditto. * solib.c (solib_map_sections): Ditto. * solib-svr4.c (bfd_lookup_symbol): Ditto. * rs6000-tdep.c (skip_prologue): Ditto. * p-valprint.c (pascal_value_print): Ditto. (pascal_object_is_vtbl_ptr_type): Ditto. * objfiles.c (in_plt_section): Ditto. * minsyms.c (lookup_minimal_symbol): Ditto. (compact_minimal_symbols): Ditto. (find_solib_trampoline_target): Ditto. * mdebugread.c (parse_type): Ditto. * language.c (set_language_command): Ditto. (set_type_command, set_range_command): Ditto. * f-lang.c (add_common_block): Ditto. (add_common_block): Ditto. (find_first_common_named): Ditto. (patch_all_commons_by_name): Ditto. * elfread.c (elf_locate_sections): Ditto. (elf_locate_sections): Ditto. (elfstab_offset_sections): Ditto. * dwarf2read.c (dwarf2_locate_sections): Ditto. * dbxread.c (add_old_header_file): Ditto. (find_corresponding_bincl_psymtab): Ditto. (read_dbx_symtab, process_one_symbol): Ditto. * coffread.c (patch_opaque_types): Ditto. * cli/cli-decode.c (delete_cmd): Ditto. * cli/cli-cmds.c (pwd_command, list_command): Ditto. * c-typeprint.c (c_type_print_base): Ditto. * breakpoint.c (bpstat_stop_status): Ditto. (clear_command, breakpoint_re_set_one): Ditto.
2003-11-08*** empty log message ***gdbadmin1-1/+1
2003-11-072003-11-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-19/+131
* bcache.h: Update copyright. Add comments on bcache VS hashtab. * bcache.c (struct bstring): Make "length" an unsigned short, add "half_hash". (struct bcache): Add "half_hash_error_count". (bcache): Compute and save the "half_hash". Compare the "half_hash" before comparing the length. Update half_hash_error_count.
2003-11-072003-11-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+46
* inftarg.c (child_xfer_partial): New function (init_child_ops): Set "to_xfer_partial".
2003-11-072003-11-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-127/+108
* ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux, set "return_value" instead of "use_struct_convention". (ppc_linux_use_struct_convention): Delete function. (ppc_linux_return_value): New function. * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function. (ppc_sysv_abi_broken_return_value): New function. (do_ppc_sysv_return_value): Add "gdbarch" parameter. (ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop static. (ppc_sysv_abi_extract_return_value): Delete function. (ppc_sysv_abi_broken_extract_return_value): Delete function. (ppc_sysv_abi_store_return_value): Delete function. (ppc_sysv_abi_broken_store_return_value): Delete function. (ppc_sysv_abi_use_struct_convention): Delete function. (ppc64_sysv_abi_use_struct_convention): Delete function. (ppc64_sysv_abi_extract_return_value): Delete function. (ppc64_sysv_abi_store_return_value): Delete function. * ppcnbsd-tdep.c (ppcnbsd_return_value): New function. (ppcnbsd_init_abi): Set "return_value", instead of "use_struct_convention", "extract_return_value", and "store_return_value". (ppcnbsd_use_struct_convention): Delete function. * ppc-tdep.h (ppc64_sysv_abi_return_value): Declare. (ppc_sysv_abi_return_value): Declare. (ppc_sysv_abi_broken_return_value): Declare. (ppc_sysv_abi_use_struct_convention): Delete. (ppc_sysv_abi_store_return_value): Delete. (ppc_sysv_abi_extract_return_value): Delete. (ppc_sysv_abi_broken_store_return_value): Delete. (ppc_sysv_abi_broken_extract_return_value): Delete. (ppc64_sysv_abi_use_struct_convention): Delete. (ppc64_sysv_abi_extract_return_value): Delete. (ppc64_sysv_abi_store_return_value): Delete. * rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV, set "return_value" instead of "extract_return_value", "store_return_value", and "use_struct_convention".
2003-11-07* dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment.Mark Kettenis2-1/+4
2003-11-07* fbsd-proc.c (read_mapping): Use sscanf and fgets instead ofMark Kettenis2-12/+16
fscanf.
2003-11-07* fbsd-proc.c: Fix formatting.Mark Kettenis2-8/+9
2003-11-072003-11-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+6
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint' as well as 'Watchpoint'.
2003-11-07Fix typo in previous patch.Kevin Buettner1-1/+1
2003-11-07Handle iacc0 as a pseudo-register.Kevin Buettner2-4/+56
2003-11-07*** empty log message ***gdbadmin1-1/+1
2003-11-062003-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-45/+67
* valops.c (destructor_name_p): Replace STREQN with strncmp. * top.c (command_line_input): Ditto. * objc-exp.y (yylex): Ditto. * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. * jv-exp.y (yylex): Ditto. * f-exp.y (yylex): Ditto. * event-top.c (command_line_handler): Ditto. * environ.c (get_in_environ): Ditto. (set_in_environ): Ditto. * dwarfread.c (handle_producer): Ditto. * dbxread.c (process_one_symbol): Ditto. * c-typeprint.c (c_type_print_base): Ditto. * c-exp.y (yylex): Ditto. 2003-11-06 Andrew Cagney <cagney@redhat.com> * mi-cmd-var.c (mi_cmd_var_set_format): Replace STREQN with strncmp.
2003-11-062003-11-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+7
Reported by Jim Ingham <jingham@apple.com>: * gdb.base/annota1.exp: Match at least one occurrence of the signal handler annotation.
2003-11-062003-11-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+6
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint' as well as 'Watchpoint'.
2003-11-062003-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+9
Jeff Johnston <jjohnstn@redhat.com> * target.c (add_target): Only set "to_xfer_partial" when NULL. (init_dummy_target): Set "to_xfer_partial".
2003-11-062003-11-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not REGISTER_CONVENTION.
2003-11-06 * breakpoint.c (insert_bp_location, allocate_bp_location): MakeDaniel Jacobowitz2-5/+10
static.
2003-11-06 * breakpoint.c (remove_breakpoint): Take an bp_locationDaniel Jacobowitz2-87/+90
instead of a breakpoint argument. Check the bp_location's type. Fix a reversed condition for hardware breakpoints. (insert_bp_location): Update call to remove_breakpoint. (remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS. (remove_hw_watchpoints): Likewise. (reattach_breakpoints): Likewise. (detach_breakpoints): Likewise. (delete_breakpoint): Likewise.
2003-11-06 * breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.Daniel Jacobowitz2-79/+109
(beakpoint_init_inferior): Likewise. (breakpoint_here_p): Likewise. Only check addresses for software or hardware breakpoints. (breakpoint_inserted_here_p): Likewise. (breakpoint_thread_match): Likewise. Correct comment. (bpstat_have_active_hw_watchpoints): Likewise. (check_duplicates): Likewise.
2003-11-06 * breakpoints.c (insert_bp_location): New function, broken outDaniel Jacobowitz2-338/+368
from insert_breakpoints. Work on an bp_location instead of a breakpoint. (insert_breakpoints): Use it.
2003-11-06 * breakpoint.h (struct bp_location): Add section.Daniel Jacobowitz3-30/+43
(struct breakpoint): Remove section. * breakpoint.c (insert_breakpoints, remove_breakpoint) (breakpoint_here_p, breakpoint_inserted_here_p) (breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint) (describe_other_breakpoints, check_duplicates, set_raw_breakpoint) (clear_command, delete_breakpoint, breakpoint_re_set_one): Access section through loc.
2003-11-06 * breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONSDaniel Jacobowitz2-14/+14
instead of ALL_BREAKPOINTS. Check for software breakpoints only.
2003-11-06 * breakpoint.c (allocate_bp_location): Take bpt and bp_typeDaniel Jacobowitz2-2/+49
arguments. Initialize owner and type for the new breakpoint location item. (set_raw_breakpoint): Update call to allocate_bp_location.